Liquity
2 deployments · $227.7M aggregate TVL · CDP
Deployments
Each deployment is rated independently. Pick one to see its rating, risk analysis, and stage.
- Tier silver Weak AI consensus on all dimensions
- Verifiability tentative Verified source, immutable, multiple top audits
- Control tentative Fully immutable, no admin keys or upgrades
- Ability to exit tentative Immutable contracts, no admin pause possible
- Autonomy tentative Immutable, dual-oracle fallback, zero admin keys
- Open Access tentative Permissionless immutable contracts, no operator gates
Liquity V1 is an immutable, ETH-collateralized CDP protocol on Ethereum. Users open Troves by depositing ETH and minting LUSD (a USD-pegged stablecoin) at a 110% minimum collateral ratio with a one-time borrowing fee; LUSD holders can redeem 1 LUSD for $1 of ETH at any time, and Stability Pool depositors absorb liquidations in exchange for ETH gains. Core contracts have owner()=0x0 (renounced) — no admin, no governance, no upgrade path.
Risk analysis
One card per dimension, sorted by severity. Only Verifiability and Autonomy carry automated signals in Phase 0. See methodology for scope.
Audit a dimension yourself · DEFI@home Contribute an LLM-run assessment — any model, any dimension. Three agreeing runs merge automatically into the public record.
DEFI@home is a distributed audit network modeled on SETI@home: instead of CPU cycles, it crowdsources LLM reasoning. Paste a slice prompt into Claude, ChatGPT, Gemini, or any browsing-capable model, and submit the JSON output as a pull request. The quorum bot merges it once ≥3 independent runs (from different models) reach the same grade — no single model, and no single contributor, can move the needle alone. How it works →
- Address discovery 9 addresses on file
· 1 run Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: DISCOVERY You are a cataloguer, not a judge. Your job is to surface every contract address that could plausibly belong to this protocol's control or fund-holding surface, each backed by a citation. `grade` is ALWAYS `"unknown"` for discovery submissions — there is no green/orange/red rubric here. The five evaluation slices that run after you (control, ability-to-exit, autonomy, open-access, verifiability) consume your output via the addressBook ratchet — every address you record becomes a pre-built surfacer URL on the next run; every address you miss costs them a tool call. Width beats depth. A `role: "other"` entry with one cited URL beats omitting it. Downstream slices will discard out-of-scope entries; they cannot rediscover what you fail to enumerate without paying the same cost again. (Step 0 capability probe lives in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every D-code below must appear in evidence[] OR unknowns[]) - **D1. Block-explorer name-tag search per chain.** For each chain in `protocol.chains`, search the canonical block explorer for the protocol's name tag — `https://etherscan.io/searchHandler?term=<query>` and the per-chain explorers (basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network). When direct fetch is blocked, use `site:<explorer> <protocol_name>` via search grounding. Record every address that surfaces with the protocol's tag, plus neighbouring "Token Contract" / "Multisig" / "Timelock" labels. - **D2. Official deployments doc.** From `protocol.website` and the docs site, locate the canonical "Deployed contracts" / "Addresses" / "Contracts" / "Deployments" page (often at `/docs/deployments`, `/docs/addresses`, `/dashboard/contracts`). Cite the URL, record every address listed with its named role, and set `protocol_metadata.deployed_contracts_doc` to this URL. - **D3. Audit PDFs.** From `protocol.audit_links` (and any audits surfaced by D2), open each. Most reports include a "Scope" / "Contracts in scope" address table in the first 5 pages. Extract every in-scope address with its labelled role. If the audit predates the current deployment, record the addresses anyway with role suffixed `(audit-era)` so downstream slices know to re-verify. - **D4. GitHub deployment artifacts.** From `protocol.github`, walk the repo at a pinned commit SHA looking for: Foundry `broadcast/<script>/<chainId>/run-latest.json` (`transactions[].contractAddress` per chainId); hardhat-deploy `deployments/<network>/<Contract>.json` (`address` field); manual indexes (`deployments.json`, `addresses.json`, `contracts.json`, `networks.json`); markdown indexes (`docs/deployments.md`, `README.md` tables). Cite the file URL with the commit SHA; pin SHAs (`?ref=<sha>`) so the citation is content-addressed. - **D5. Multi-chain enumeration.** If `protocol.chains.length > 1`, repeat D1–D4 per chain. Cross-chain deployments of the same logical contract get SEPARATE `admin_addresses[]` entries — one per chain. The chain field is part of the identity; do not collapse. If a chain has zero results, record `"D5: chain <name>: zero addresses surfaced from <sources tried>"` in unknowns[]. - **D6. Factory-discovered children.** For factory addresses surfaced in D1–D4, fetch the enumeration view via the read API (`/api/contract/read?...&method=allPools` / `getPool` / `getMarket` / `getVault`) and record each child with role like `"pool (from factory <0xFactory>)"`. **Cap at 50 children per factory.** Protocols with thousands of pools (Uniswap, Sushi) need dedicated ingestion — record the factory + the cap notice in unknowns[]. - **D7. Role taxonomy.** Every `admin_addresses[]` entry's `role` uses this controlled vocabulary (free-text suffixes OK for disambiguation, e.g. `"multisig (treasury)"`, but the leading token must match): `owner | admin | proxy_admin | governor | timelock | guardian | multisig | treasury | oracle | factory | router | token | pool | vault | other` Tentative classifications are encouraged. `actor_class` ∈ `eoa | multisig | timelock | governance | unknown` — use `unknown` when you found the address but didn't read its bytecode. - **D8. Ratchet output integrity.** Every address in `admin_addresses[]` must trace to ≥1 fetched URL in evidence[]. Snippet-only sightings go in unknowns[] with a `D8` code, NOT in admin_addresses[]. ### Discovery rationale framing - `rationale.findings`: one entry per D-code, terse, factual. Per-address detail belongs in evidence[] and admin_addresses[], not here. Example: `"D1: 8 addresses surfaced from etherscan.io name-tag search for 'Aave V3'"`. - `rationale.steelman`: ALWAYS null. - `rationale.verdict`: one short line summarizing what corpora were walked and how many addresses were catalogued. - `headline`: factual and quantitative — `"24 contracts catalogued across Ethereum, Arbitrum, and Base; 6 governance/admin and 18 protocol contracts."`. - `short_headline`: under 60 chars — `"24 contracts across 3 chains"`. ### What discovery is NOT - Not a verdict slice. `grade` must be `"unknown"`. - Not exhaustive enumeration of leaf assets — record the factory + cap and move on (see D6). - Not classification of trust assumptions — whether a multisig threshold is safe / timelock delay is sufficient / proxy admin is an EOA is the control slice's job. - Not address-book reconciliation: when addressBook is non-empty, EXTEND it (find addresses prior runs missed) rather than re-cite the same addresses; re-cite only when you have new evidence for a refined role. ### protocol_metadata side-effects While walking the corpora, populate every `protocol_metadata` field you can support with citations: `github`, `docs_url`, `audits` (one per D3 audit walked), `governance_forum`, `bug_bounty_url`, `security_contact`, `deployed_contracts_doc` (URL from D2), `upgradeability` (best-effort), and `about` (2–4 sentences sourced from docs/website, not memory). Discovery is the natural home for these — evaluation slices should not have to rediscover them. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "discovery", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Verifiability
✓ 3/3 models agree
AI-only
weak green — only 0/3 sources have a public chat share link; total support weight 0.52 below confidence floor (1.5) Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: VERIFIABILITY Evaluate whether an outsider can independently confirm what the deployed code does. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - V1. For each address you assess: is the bytecode verified on the chain's block explorer? Record the "Contract Source Code Verified" indicator. https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... returns this as a top-level "verified" boolean plus "abiSource" ("etherscan" / "sourcify") and an inline ABI — useful when the explorer page is rate-limited. If the contract is a proxy, verify BOTH the proxy contract AND the current implementation contract. The same /api/contract/abi response auto-resolves proxies and includes a "proxy.implementation" address when present, so one call covers V1 + V6 in one shot. An explorer "Similar Match" on a well-known proxy pattern (Aragon AppProxyUpgradeable, ERC1967Proxy, OssifiableProxy, OZ TransparentUpgradeableProxy) is expected for that pattern and does NOT count as a verification gap on its own — what matters is that the implementation is independently verified. - V2. Source-to-repo correspondence: for each verified contract, attempt to find a matching commit in the linked GitHub repos. Record evidence[].commit on a match. Independent compile/bytecode-match is NOT required for green — a recognized public repo whose structure and file contents correspond to the explorer-visible source is sufficient. If you did not pin a commit SHA or run a bytecode diff, record that plainly in unknowns[] and proceed; it is a scope limit, not a downgrade signal. - V3. Audit coverage: for each URL in protocol.audit_links, open it and record: auditor name, audit date, the specific contracts / commit in scope. Flag audits that predate the current deployment by >6 months without a follow-up review. - V4. Auditor recognition: the following firms are broadly recognized in Solidity: Trail of Bits, Zellic, Spearbit, OpenZeppelin, ConsenSys Diligence, Certora (formal verification), Quantstamp, Halborn, Peckshield, Sigma Prime, ChainSecurity, Ackee Blockchain, MixBytes, Statemind. Unknown firms are orange-at-best for any green-grade claim. Name the firm explicitly in evidence[]. - V5. Post-audit drift: compare the most recent in-scope audit(s) against the currently-deployed source, weighted by what each contract does and by what the changes actually contain. SCOPE — drift only downgrades the grade when ALL of the following hold: (i) the drifting contract is fund-custody / settlement / accounting-critical (NOT a peripheral router, lens, quoter, or pure-view contract that holds no balances); (ii) the changes are material — new functions, modified access control, modified accounting, modified fund flow — and not refactors / struct relocations / import reorgs / build or CI fixes / formatting; (iii) no later audit, fix-audit, or differential audit from a recognized firm covers the changed files (audits often pin a pre-fix commit while a follow-up reviews the delta — match by file scope, not by commit-hash equality). When you cite drift as a downgrade reason, name the specific behavior change (function added, role granted, accounting formula altered) — "N commits ahead" or "+X/-Y LOC" alone is not evidence of material drift. If you have not sampled the diff content (e.g. via the GitHub compare view or the top commits in the window), record drift as an unknowns[] entry rather than auto-downgrading; commit-count and LOC are starting signals, not findings. - V6. Implementation vs proxy: a verified proxy with an unverified implementation is effectively unverified. State whether the implementation is verified separately. EVIDENCE DISCIPLINE (read before writing findings[]): - Do not assert a specific deploy-commit SHA, bytecode equivalence, or "identical to audited commit" unless you actually fetched the artifact that shows it (e.g., a deployed-addresses JSON you opened, an explorer page you read). Inferred or plausible matches belong in unknowns[], never in findings[] or evidence[]. - Evidence[] entries must correspond to pages/files you actually retrieved this run. A URL you did not open is not evidence. Then write the steel-man section per Hard Rule 11. Grade rules: - green = deployed bytecode verified on the explorer (proxy AND implementation if proxied; "Similar Match" on a standard proxy pattern is fine per V1), a public source repo exists whose contents correspond to the explorer-visible source, AND ≥1 audit from a recognized firm covering the currently-deployed contracts (≤6 months of drift OR drift was re-audited). A missing local compile-match is not a downgrade — record it in unknowns[] and still grade green if the other conditions hold. - orange = verified but with visible drift from the public repo, OR audit scope is stale relative to deployment, OR only minor / unknown-firm audits exist, OR only some of the main contracts are verified, OR proxy verified but implementation only partially verified. - red = unverified bytecode (or verified proxy with unverified implementation), OR no audit in protocol.audit_links, OR no public repo. - unknown = reserved for when the protocol's verifiability posture genuinely cannot be assessed (e.g., explorer and repo both inaccessible for this protocol). Do NOT use unknown merely because you, the analyst, could not run a particular check such as a bytecode diff — that goes in unknowns[] while the grade is still assigned from the evidence you do have. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "verifiability", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Control
✓ 3/3 models agree
AI-only
weak green — only 0/3 sources have a public chat share link; total support weight 0.52 below confidence floor (1.5) Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: CONTROL Evaluate who can change the protocol's rules, how fast, and how broadly. (Step 0 capability probe and the off-chain-only fallback live in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]) - **C1.** For each address you assess: who is the contract owner / admin / pendingAdmin / governor — read these via the block explorer's "Read Contract" tab OR `https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=owner` (BARE method names: `&method=owner`, `&method=admin`, `&method=pendingOwner`, `&method=governor`). For Safes use `/api/safe/owners?chainId=<id>&address=0x...`. When a protocol has multiple major versions deployed (v2/v3/v4), perform C1 reads on the NEWEST deployment separately — newer deployments often have weaker control surfaces than the legacy core. - **C2.** Upgrade mechanism: transparent proxy / UUPS / Beacon / Diamond / immutable. Identify the proxy admin address. Check upgradeability of GOVERNANCE contracts too — a Governor / Aragon Voting / OZ Governor is often itself a proxy whose admin is the Timelock. Asymmetry: when fund-holding cores are immutable AND governance has no admin path that reaches them, an upgradable Governor/Timelock is T3-only and must NOT drag the verdict below green on that basis alone (see grade rules and the "immutable cores" caveat). Only call upgradability "mixed" if you can name a concrete function on the upgradable surface that reaches T1 or T2 on user funds. - **C3.** EXECUTION PATH (enumerate every stage, in order, with delays in seconds). The operative path is usually a chain (voting → scheduler → timelock → executor; or governor → queue → execute; or Aragon Voting → DualGovernance → EmergencyProtectedTimelock → AdminExecutor). For each stage, record (a) the contract address, (b) the delay constant name + value in seconds, (c) the URL you read it from (block-explorer Read Contract OR `/api/contract/read?...&method=MIN_DELAY&block=<n>`). Do NOT stop at the first timelock-shaped contract — if its admin is itself called by another contract, keep walking. The grading delay is the SUM OF DELAYS ON THE UNCONTESTED FAST PATH (shortest time a proposal with no opposition can go from submission to executable). Dynamic / contested extensions (veto signaling, rage quit, escrow delay) are modifiers, not the basis — note them separately. - **C4.** Enumerate EVERY multisig with reachable control — main proxy admin, emergency activation, emergency execution, reseal / pause, gate-seal committees, tiebreaker, per-module admins. For each Safe, fetch threshold + owners + version via `/api/safe/owners?chainId=<id>&address=0x...` (response includes raw eth_call data, so the URL is citable evidence). Enumerate ops/council/incentives multisigs even when off the upgrade path — record their scope so a reader can see they are NOT on the upgrade path. For each: (a) address, (b) threshold / total signers, (c) signer identities classified as insider (team, paid auditors under ongoing engagement, mandated service providers) vs non-insider (independent community members, unaffiliated researchers), (d) the specific power held (upgrade, pause, parameter, etc.). - **C5.** On-chain governance: Governor / GovernorBravo / OZ Governor / Aragon Voting with token-weighted voting? Record proposal threshold, voting period, quorum, and the timelock delay between queue and execute. Every numeric constant must come from a Read Contract call you can link to, or be in unknowns[] with the C-code. If votingDelay / votingPeriod are denominated in BLOCKS, convert to seconds at the chain's CURRENT block time (Ethereum mainnet ≈ 12s post-Merge, not the 15s in older Compound/Bravo deployments) — cite both block count and converted seconds. - **C6.** EMERGENCY POWERS: separate emergency-pause / guardian role with a different time cap or different actor than the main upgrade authority? Record it explicitly. - **C7.** POWER TIER (blast radius). For each privileged path in C3–C6, classify the WORST thing that path can do, choosing the highest applicable tier. Cite the specific function name and any on-chain bound — tier claims without a named function are unsupported. - **T1 — FUND-CRITICAL**: replace implementation of contracts holding user funds; change AMM math / accounting / collateral logic; mint unbacked debt or shares; pause withdrawals; drain user-fund treasury; change oracle to attacker-controlled source; replace upgrade admin with EOA. - **T2 — ECONOMICALLY MATERIAL**: change fee parameters within bounded ranges; redirect protocol fees; add/remove markets / collateral types; bounded inflation or token mint within hard-capped schedule; spend protocol-owned (non-user) treasury. - **T3 — GOVERNANCE-INTERNAL**: change voting rules, quorum, voting period, proposal threshold; upgrade the Governor itself; rotate Timelock admin; mint governance tokens within a capped annual schedule. - **T4 — OPERATIONAL**: incentives distribution, grants, ENS / frontend canonicalization, deployment coordination, periphery router deprecation. The grade is set by the HIGHEST tier reachable on the uncontested fast path, not the median. State the tier and the binding function in the verdict. ### Read Contract discipline (applies to C3, C4, C5) Every numeric constant cited (timelock delays, voting periods, multisig thresholds, quorum percentages) must come from EITHER (a) a block-explorer Read Contract URL, OR (b) a DeFiPunkd `/api/contract/read` or `/api/safe/owners` URL (preferred with `&block=<n>` for content-addressed evidence), OR (c) an unknowns[] entry with the C-code. Docs / blog posts are corroboration only — they cannot be the sole citation for a value that is also readable on-chain. ### Off-chain-only substitute hierarchy (when grading_basis="off-chain-only" — see preamble Rule 16) When on-chain reads were genuinely unreachable this run, eligible off-chain substitutes in priority order: 1. Linked audit PDFs (admin roles, multisig members, timelock delays usually enumerated). 2. Governance forum posts that quote constants from a successful on-chain proposal (cite post URL + linked execution-tx URL). 3. Official protocol docs pages with named addresses and roles (must be on a domain owned by the protocol). 4. GitHub README / SECURITY.md / governance/*.md at a pinned commit SHA. Forbidden substitutes: third-party blog posts, X / Twitter threads, search-result snippets, model memory. Required degradation: any C-code citing a numeric constant from docs/forum/audit prose ONLY must also carry an `unknowns[]` entry with `-offchain` suffix noting "value not re-read on-chain in this run; corroboration only". ### Grade rules (apply the timelock bar conditional on the highest C7 tier reachable on the fast path) Security Council standard (used below): a multisig qualifies as "Security Council" only if ALL of: ≥7 signers, ≥51% threshold, ≥50% non-insider signers, every signer publicly announced. Failing any criterion = NOT a Security Council, regardless of signer reputation. - **green**: highest reachable tier is T3 or T4 regardless of timelock; OR T2 reachable with uncontested-fast-path delay ≥7 days; OR T1 reachable only via immutable contracts (T1 is unreachable); OR T1 reachable with uncontested-fast-path delay ≥7 days combined with a Security Council multisig; OR T1 reachable with uncontested-fast-path delay ≥7 days through active on-chain governance with broad token distribution. - **orange**: T2 reachable with uncontested-fast-path delay >0 but <7 days; OR T1 reachable with uncontested-fast-path delay >0 but <7 days; OR a multisig failing one or more Security Council criteria sits on a T1/T2 path; OR unclear upgrade authority on a T1/T2 path; OR governance with very short timelock or low quorum on a T1/T2 path. - **red**: T1 reachable with no timelock by a single EOA or 2-of-3 multisig; OR a T1 upgrade admin that is not a smart contract you can audit. - **unknown**: completed the checklist but still cannot determine the upgrade authority OR cannot classify the highest tier reachable on the main contracts. Tiering caveats: - "Bounded" must be enforced ON-CHAIN to count as T2. A function that sets fees with no upper-bound check is T1 — cite the bound check. - Recurring T2 economic extraction (e.g. fee redirect with no rate limit) approaches T1 over time. A single proposal that can permanently redirect all future revenue is T1. - T3 assumes the governance contract cannot itself authorize a T1/T2 action without going through the same timelock. If governance can self-upgrade to bypass the timelock, T3 collapses into T1. - Do not downgrade tier by hand-waving ("realistically governance would never…"). Tier on what the contract permits, not what feels likely. Notes: - **Dynamic / dual-governance timelocks** (Lido, Compound escrow veto): the rubric grades on the uncontested path because that is the path most upgrades take. A dynamic extension that fires only under stake-weighted opposition is a real protection — name it in the green steel-man, but it does not lift an orange fast path into green; state the tension in the verdict. - **Immutable cores with upgradable governance** (Uniswap-style): if fund-holding contracts are immutable and have no admin-reachable function moving / freezing / re-routing user funds, the highest reachable tier on the upgrade path is T3 — green regardless of timelock. Don't grade this orange just because the Governor is a proxy — that's a C2 fact, not a downgrade. Downgrade only applies if you can cite a concrete function on the upgradable surface that reaches T1 or T2 (privileged hook, upgradable factory controlling fund-routing, fee-switch redirecting protocol revenue without bound). - **The 7-day bar** reflects the exit-window standard — users need notice after a queued upgrade to withdraw if they disagree. The ability-to-exit slice grades the exit side; this slice grades the delay side; both must hold for users to actually benefit from the delay. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "control", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Ability to exit
✓ 3/3 models agree
AI-only
weak green — only 0/3 sources have a public chat share link; total support weight 0.09 below confidence floor (1.5) Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: ABILITY-TO-EXIT Evaluate whether users can withdraw their funds on their own terms, even under adversarial admin conditions. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - E1. Enumerate every user-facing exit function in the main contracts: withdraw, redeem, burn, requestWithdrawal, claim, exit, etc. List them by name. Do NOT treat the contract as a monolith. - E2. For EACH exit function in E1: identify its access modifiers and any pause guards (e.g. _checkResumed, whenNotPaused, onlyRole). Functions that gate REQUEST PLACEMENT often differ from functions that CLAIM FINALIZED FUNDS — check both separately. - E3. For each pause guard: identify the role holder (which address holds PAUSE_ROLE / GUARDIAN / etc.) and the maximum pause duration. Specifically check whether PAUSE_INFINITELY (or equivalent uncapped pause) is callable, and which actor can call it (single multisig vs governance vote). For role-holder reads use https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=hasRole&args=0x...,0x... or &method=getRoleAdmin&args=0x.... For "is currently paused" checks use &method=paused or &method=isPaused&args=<resume-code>. Use the BARE method name (no parens). Cite the URL with &block=<n> in evidence[]. - E4. EMERGENCY vs GOVERNANCE pause distinction: many protocols have a fast-acting emergency pause capped at N days and a slow governance pause that can be indefinite. Record both paths separately if present, with their time caps and actor classes. - E5. Queued redemption: documented maximum queue duration, daily withdrawal caps, whether the queue itself is pausable. - E6. Forced-exit / escape-hatch / permissionless emergency-exit mechanism for adversarial-admin scenarios. - E7. Frontend dependency: confirm exit functions are directly callable on-chain (e.g. via Etherscan write tab or a generic wallet) without the project's frontend. Then write the steel-man section per Hard Rule 11. Common red-vs-orange tension on this slice: indefinite pause exists (suggests red) BUT the realistic emergency path is time-capped AND claims of already-finalized exits are not pause-gated (suggests orange). Resolve this by stating who can do what for how long, not by stopping at the worst-case sentence. Grade rules: - green = permissionless exit; pause is either absent, narrowly scoped to clearly-described emergencies with auto-expiry, or capped at ≤7 days; no frontend dependency for exit; claims of already-finalized exits are not pause-gated under any path. - orange = pausable with broad scope OR indefinite pause is reachable only through governance vote (not unilateral admin action), OR queued redemption with documented max > 7 days, OR claims-of-finalized are exempt but new-request placement can be paused indefinitely by governance. - red = exit requires admin signature, OR ANY actor (including governance) can pause CLAIMS of finalized exits indefinitely, OR there is no on-chain exit function at all (purely custodial), OR pause is held by a single EOA / 2-of-3 multisig with no time cap. - unknown = checklist incomplete after checking the sources above. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "ability-to-exit", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Autonomy
✓ 3/3 models agree
AI-only
weak green — weak consensus margin; only 0/3 sources have a public chat share link; total support weight 0.52 below confidence floor (1.5) Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: AUTONOMY Evaluate this protocol's autonomy: can a failure of anything outside its own contracts cause theft or loss of user principal, loss of unclaimed yield, or materially change the protocol's expected performance? "Autonomy" is not "has zero external touchpoints" — it is "external failures are either survivable or recoverable without user loss". This slice adapts DefiScan v1's Autonomy dimension; dependencies are one of several criteria, not the whole frame. GUARDRAILS (read before grading): - Category alone (Liquid Staking, Bridge, RWA Lending, Restaking, …) does NOT force a grade. A category is a hint about where to look; the grade must come from the concrete A1–A9 findings below. - Base-chain consensus (Ethereum PoS, the chain's validator set, the canonical Deposit Contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa) is the SUBSTRATE, not a dependency, for any protocol deployed on that chain. Do not list "depends on Ethereum" as a finding. - Oracles or other integrations used by DOWNSTREAM protocols that happen to read this protocol's token (e.g. Chainlink stETH/USD consumed by Aave) are NOT this protocol's dependencies. Count only what THIS protocol's contracts call or trust on-chain. If a feed or contract appears in the protocol's docs only as reference material for third-party integrators, EXCLUDE IT ENTIRELY — do not log it as a finding even with a "peripheral" or "referenced only" caveat. - "Upgradeable admin can change things" belongs to the CONTROL slice; only count it here when the upgrade surface lets governance silently swap an external dependency (see A9). - Underlying-asset risk in opt-in, isolated markets is NOT autonomy-red on its own. When a protocol wraps third-party yield-bearing assets (LSTs, LRTs, ERC-4626 vaults, lending receipts, restaked tokens) into per-market silos that users explicitly choose, a failure of one underlying does NOT propagate to other markets and is risk the user opted into per-market. Record it under A4 with depth and propagation scope, but do not let it alone drive a red verdict — red requires an external dependency that cross-cuts the protocol or that the user did not opt into at deposit time. A failure mode that is "if the LRT you deposited is hacked, your principal in that LRT-backed market is impaired" is the underlying's autonomy story, not this protocol's; grade it on whether THIS protocol introduces additional dependencies on top. - Sub-module enumeration is mandatory before grading. If the protocol ships distinct product lines or modules (e.g., a v2 core AMM plus a newer perps/funding-rate module, a lending pool plus a separate vault layer, an L1 core plus a cross-chain extension), enumerate each in findings and grade against the WORST module weighted by its share of TVS or its blast radius. A green core does not rescue an orange/red sub-module; conversely, a small red sub-module with capped TVS may bound the overall grade to orange. Name each module by its on-chain factory or router address. If you do not know whether a module exists, that is an unknowns[] entry, not silence. EXPLICIT TVS WEIGHTING: in the verdict, state each module's approximate share of total protocol TVS (use "~X%" if exact figures unavailable; check DeFiLlama or block-explorer balances on the module's main contract) and how that share informs the weighted grade. Format: "Module A holds ~X% of TVS (grade: <g>); Module B holds ~Y% (grade: <g>); weighted overall = <grade> because <reason>." If a red sub-module holds <5% of total TVS and is capped, the overall grade may be orange; if it holds >25%, the overall grade is red. Do not let qualitative reasoning substitute for the percentages — write the numbers. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. External contract calls. Enumerate every external contract the core contracts call or read from (oracles, price feeds, AMM pools, lending pools, staking/deposit contracts, yield wrappers). For each, identify the address, the provider, and what user-facing function of this protocol would break or mis-price if that external contract paused, mis-reported, or behaved adversarially. Grep for "oracle", "aggregator", "getPrice", "latestAnswer", "chainlink", "pyth", "redstone" as a starting point. To verify an oracle is live and what it currently reports, hit https://defipunkd.com/api/contract/read?chainId=<id>&address=<oracle>&method=latestAnswer (or &method=latestRoundData, &method=getPrice, &method=description; use the BARE method name without parens) and cite the URL — the response includes blockNumber/blockHash and rawReturnData, which is stronger evidence than a docs page about which feed "should" be used. - A2. Off-chain actor committees reporting INTO the protocol. Oracle committees, guardian multisigs, DAO-selected validator sets acting as protocol reporters, exit-bus signers, fraud-proof challengers. For each, record committee size, quorum, who picks the members, and what mis-reporting could do (mint, burn, finalize withdrawal, freeze). Distinguish this from governance admins (control slice). NOTE ON STAKING PROTOCOLS: validator slashing and node-operator misbehavior are properties of the base-chain substrate, NOT external dependencies, when the operator set is diversified enough that a coordinated failure caps at <5% principal loss. Count validator/operator risk under A2 ONLY if the operator set is small, non-diversified, or lacks bonding / slashing-insurance / diversification mitigations. A curated set of 30+ independent operators with documented diversification falls under the mitigated path; a 3-operator LST does not. Do not cite the protocol's own risk disclosure as evidence that operator failure = principal loss unless you also check the diversification and bond mitigations. - A3. Bridge / cross-chain messaging dependencies. Only count bridges that carry material TVL or are required for a core user flow. For each, name the bridge operator (canonical L1↔L2, LayerZero, Wormhole, Axelar, custom multisig), the trust model (canonical, optimistic, light-client, guardian set), and what fraction of TVL or users ride on it. "wstETH exists on 15 chains" is not a finding unless material TVL sits there. Before listing any non-primary chain deployment as a dependency, verify it is still operational as of analysis_date — retired or sunset deployments (e.g., Lido-on-Terra, Lido-on-Solana) belong in unknowns[] or should be omitted, never cited as a current dependency. - A4. Nested collateral / restaking chains. For restaking / LRT / receipt-of-receipt designs: record the depth of the collateral chain, every actor with slashing or freezing power at each level, and whether a failure N levels deep propagates to user principal here. - A5. Fork lineage (silent check). If DeFiLlama's forkedFrom is non-empty, record it as one finding and move on. If empty, do NOT add a placeholder finding; it adds noise. - A6. Fallback mechanisms and circuit breakers. What catches an external failure? Sanity-check contracts on oracle reports, rebase bounds, pause paths triggered by bad prices, second-opinion oracles, max-per-block throughput caps, withdrawal queues that absorb bad reports. Record which A1–A4 risks are mitigated by which fallback, and which are unmitigated. For EACH fallback you cite, state its activation status explicitly: (i) LIVE and enforcing on-chain today, (ii) DEPLOYED but not yet wired / activated (e.g., interface exists but the address is zero or the role is unassigned), or (iii) DOCUMENTED / PROPOSED only (forum post, LIP draft, audit pending). Only (i) counts as mitigation for the grade. A fallback in state (ii) or (iii) should be noted but must not reduce the risk in your steel-man or verdict. If you cannot determine activation status, add an unknowns[] entry rather than assume it is live. - A7. Sequencer / L1-liveness dependency BEYOND the base-chain substrate. SCOPE — sequencer risk only counts here when the protocol IS its own L2/L3 appchain or app-rollup, where the sequencer is part of the protocol's own stack and a freeze is a protocol-level outage. A protocol permissionlessly deployed on a third-party L2 inherits that L2's sequencer as substrate, not an A7 dependency. Record the sequencer/DA trust model when A7 applies. - A8. Keeper / relayer / off-chain bot liveness. Protocols that need permissionless-but-necessary off-chain actors (liquidation bots, auto-compounders, deposit relayers, intent solvers). Record whether the role is permissionless, what degrades if nobody runs it (yield paused, bad debt accumulates, positions go stale), and whether the failure mode is graceful or catastrophic. - A9. Governance-mutable dependency surface. Can an admin or DAO action silently INTRODUCE a NEW EXTERNAL dependency — swap the oracle address to a different provider, register a new staking module that calls an untrusted contract, add a new bridge, route SY through a new external vault — without an exit window for users? Check the upgrade / router / module-registry contracts. Answer: which EXTERNAL dependencies are governance-mutable, who holds that power, and whether there is a timelock or exit window. SCOPE LIMIT — read carefully: A9 is about the *external dependency surface*, not the upgrade surface in general. "The proxyAdmin / EOA can upgrade the router implementation to arbitrary bytecode" is a CONTROL-slice finding (admin can rug), NOT an autonomy-A9 finding. A9 fires only when the upgrade specifically swaps out or adds a contract that THIS protocol calls or trusts (e.g., changing the oracle address from Chainlink to a malicious feed, registering a new SY adapter that points to a third-party vault, redirecting a bridge endpoint). If the only finding is "admin can change implementation," do not log it under A9 and do not let it drive the autonomy grade — note it under control instead. The autonomy-relevant version of the same upgrade key is "admin can swap [specific external address X] without timelock"; that requires identifying the specific external dependency that becomes mutable. STEEL-MAN (per Hard Rule 13): write one-sentence strongest arguments for red, orange, and green using the A1–A9 findings. IMPACTED TVS ESTIMATE: the headline MUST include a rough impacted-TVS figure — the fraction of protocol TVS that could be lost or frozen if the worst-unmitigated dependency you identified failed. Use "~X%" if exact numbers are unavailable, "<1%" for de minimis, "unclear" only if A1–A9 left the question genuinely open (in which case grade=unknown is usually correct). Do NOT substitute qualitative phrases like "significant" — give a number or bracket. GRADE ANCHORS (mapped to DefiScan v1 stages): - green = Stage 2 equivalent. Failure of any external dependency cannot cause loss of user principal or unclaimed yield. Either there are no material external dependencies, or every critical one has a documented fallback (A6) that keeps users whole. Governance cannot silently introduce new dependencies without an exit window (A9). Impacted TVS under any single-dependency failure: effectively 0. - orange = Stage 1 equivalent. Failure of some external dependency can cause loss of unclaimed yield, or can materially change expected performance (pause withdrawals, freeze positions, degrade price quality), but cannot cause loss of principal. Committee-based oracles with sanity checks, canonical-only bridges, fallback paths that exist but are incomplete, or governance-mutable dependencies protected by a ≥7-day timelock. Impacted TVS is bounded and recoverable. - red = Stage 0 equivalent. Failure of an external dependency CAN cause theft or loss of principal. Examples: single-provider oracle with no sanity check or fallback, material TVL on a non-canonical bridge with a guardian multisig, governance can hot-swap oracles or add staking modules with no timelock or exit window, unmitigated keeper-liveness dependency where positions become insolvent if bots stop. Impacted TVS is material. - unknown = checklist incomplete after inspecting source + verified contracts. Prefer unknown over guessing when A1/A6 could not be reconstructed. RESERVE unknown for cases where the CORE ARCHITECTURE itself is unverifiable — not for cases where you merely cannot enumerate every per-market dependency in a multi-market protocol. If the core router/factory/oracle architecture is verifiable on-chain and you can determine whether the core requires external dependencies, grade the architecture even when an exhaustive per-market external-dependency census is infeasible. Acknowledge the per-market gap in unknowns[] but still issue a grade. Refusing to grade a multi-market protocol because you cannot list every SY/vault/market is over-use of unknown; grade the architecture and say so. PROMPT-META CHECK (per Hard Rule 17): before finalizing, verify the verdict cites concrete contract addresses, docs, or code — not the rubric itself. If your verdict says "the protocol belongs to a category the rubric marks red", rewrite it with the A1–A9 finding that actually justifies the grade, or drop to grade=unknown. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "autonomy", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Open Access
✓ 3/3 models agree
AI-only
weak green — only 0/3 sources have a public chat share link; total support weight 0.52 below confidence floor (1.5) Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: OPEN-ACCESS Evaluate who is allowed to use the protocol and whether any of that permission is granted off-chain. Scope: this slice is about ADMISSION — who can enter, exit, or transact. Operator LIVENESS (what breaks if keepers/oracles go offline) is assessed in the dependencies slice and is out of scope for the grade here. You may note operator dependencies as context, but do not let "the protocol halts if operator X disappears" drive the access grade on its own; that belongs in dependencies. Source verification / contract verification on block explorers is assessed in the verifiability slice and is out of scope here — do NOT let "contract is unverified" drive the access grade. Framing: the smart contracts are the access layer; frontends are UX. A permissionless contract is reachable by any client (SDK, third-party UI, aggregator, wallet integration). Frontend ToS, IP geo-blocking, and wallet screening are publisher policies on one specific client — they are reported as context but do NOT determine the grade. The grade hinges on (1) what the contract itself permits, and (2) whether the protocol is practically reachable without the official publisher's cooperation. Meta-check before finalizing: if your verdict cites phrases from this prompt as evidence ("the protocol meets the 'credible alternatives' condition", "this fits the 'documented fallback' rule"), redo the verdict. The prompt describes the rubric; evidence must come from the protocol. A verdict should cite what the protocol does, not what the rubric says. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. Whitelist / allowlist modifiers in user-facing entry points. Grep for "onlyWhitelisted", "onlyRole", "allowlist", "isAccredited", "isKYCed". Note which functions are gated and who can add/remove from the list. - A2. Off-chain operators in the admission path: keepers, sequencers, privileged relayers, oracle posters whose approval is required to admit a user action (not just to keep the protocol live). For each, identify whether the role is held by a single operator, a permissioned committee, or is permissionless. Enumerate per user-facing function class (deposit vs withdraw-request vs claim-finalized vs transfer) which ones require operator approval to be admitted, and which ones admit users unconditionally. A function whose placement is unconditional but whose downstream settlement depends on an operator is an admission-permissionless function — flag the liveness dependency as context and defer its grading weight to the dependencies slice. - A3. Frontend restrictions on the official interface — record as context, not as a grade lever. Distinguish: - A3-passive: boilerplate ToS clauses (sanctions attestation, restricted-territory self-certification, VPN-circumvention prohibition, "comply with applicable law" eligibility, age of majority). - A3-active: runtime enforcement — IP-based geo-blocking, wallet-address screening against a sanctions oracle (Chainalysis, TRM, Elliptic), KYC wall, rendering-blocking jurisdiction banner. Record findings under the correct tier. Quote ToS text or banner text in evidence[].shows. These findings populate the headline and rationale but do NOT move the grade by themselves; the grade is set by A1, A2, and the A3b path check below. - A3b. Independent access paths (the operative grade input). Enumerate paths that do not require the official publisher's cooperation: - Published SDK / library / CLI for direct contract interaction. - Third-party frontends operated by separate legal entities. - Wallet-integrated access (MetaMask Swaps, Safe apps, etc.). - DEX / lending / yield aggregators that route through the contracts. Record at least one concrete link per path that exists. The protocol does NOT have to self-document these — the test is existence, not UX cost. An A3b-i redistribution of the official UI bound by the same ToS does NOT count as an independent path. - A4. Sanctions / compliance tooling at the contract level: does the protocol check addresses against OFAC lists or similar on-chain blocklists in the contract itself? (Frontend-only screening belongs in A3.) - A5. Differentiate read access vs write access: many protocols are read-permissionless (anyone can view state) but write-gated (only certain addresses can deposit/borrow). Record both. - A6. ToS / Legal links: locate them on the website and produce a VERBATIM quote of any jurisdictional, sanctions, or eligibility clause in evidence[].shows. If you cannot extract the clause text verbatim (SPA render failure, paywall, dead link, etc.), do NOT paraphrase or infer from general knowledge — record the ToS URL in unknowns[] with the reason extraction failed. Assertions about ToS content without a verbatim quote will be downweighted by reviewers. Then write the steel-man section per Hard Rule 11. Grade rules (admission-focused; liveness concerns belong in dependencies; source verification belongs in verifiability): - green = no contract-level whitelist/KYC on user entry/exit; no operator approval required to admit a user action; AND at least one independent A3b path exists (published SDK, third-party frontend, wallet integration, or aggregator routing). Frontend ToS posture and A3-active enforcement on the official UI do NOT block green when contracts are permissionless and an independent path exists — they are reported as context. - orange = contracts admit users unconditionally, BUT the protocol is operationally captured by the official publisher: no published SDK, no third-party frontend, no wallet integration, no aggregator routing. The contract is theoretically open but practically reachable only through the official UI. Also applies when admission requires approval from a permissioned committee that is governance-managed with a documented replacement procedure. - red = contract-level whitelist / KYC on user entry/exit, OR admission of a core user action requires approval from a single privileged operator or a small committee with no documented replacement procedure, OR enforces an on-chain blocklist updatable by a single party. - unknown = checklist incomplete after checking the sources above. Default-grade guidance: when contracts are fully permissionless AND any A3b independent path exists, the default grade is green regardless of frontend ToS or A3-active enforcement on the official UI. Frontend geo-blocking, sanctions-oracle wallet screening, and ToS sanctions clauses are publisher policies on one client and are reported in findings/headline as context, not as grade levers. To grade orange on operational-capture grounds, the auditor must affirmatively show that ALL independent paths are absent or also gated. Guideline on committees: where admission depends on a multi-operator committee, the relevant axes are (a) set size, (b) whether replacement/rotation is governed on-chain, (c) whether the replacement procedure is publicly documented. A large set with on-chain governance replacement should not be graded as a single-party operator even if rotation is not instantaneous. A small set with informal replacement should be treated as a single-party operator. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "open-access", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Audit all 5 dimensions · one prompt Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: CONTROL Evaluate who can change the protocol's rules, how fast, and how broadly. (Step 0 capability probe and the off-chain-only fallback live in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]) - **C1.** For each address you assess: who is the contract owner / admin / pendingAdmin / governor — read these via the block explorer's "Read Contract" tab OR `https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=owner` (BARE method names: `&method=owner`, `&method=admin`, `&method=pendingOwner`, `&method=governor`). For Safes use `/api/safe/owners?chainId=<id>&address=0x...`. When a protocol has multiple major versions deployed (v2/v3/v4), perform C1 reads on the NEWEST deployment separately — newer deployments often have weaker control surfaces than the legacy core. - **C2.** Upgrade mechanism: transparent proxy / UUPS / Beacon / Diamond / immutable. Identify the proxy admin address. Check upgradeability of GOVERNANCE contracts too — a Governor / Aragon Voting / OZ Governor is often itself a proxy whose admin is the Timelock. Asymmetry: when fund-holding cores are immutable AND governance has no admin path that reaches them, an upgradable Governor/Timelock is T3-only and must NOT drag the verdict below green on that basis alone (see grade rules and the "immutable cores" caveat). Only call upgradability "mixed" if you can name a concrete function on the upgradable surface that reaches T1 or T2 on user funds. - **C3.** EXECUTION PATH (enumerate every stage, in order, with delays in seconds). The operative path is usually a chain (voting → scheduler → timelock → executor; or governor → queue → execute; or Aragon Voting → DualGovernance → EmergencyProtectedTimelock → AdminExecutor). For each stage, record (a) the contract address, (b) the delay constant name + value in seconds, (c) the URL you read it from (block-explorer Read Contract OR `/api/contract/read?...&method=MIN_DELAY&block=<n>`). Do NOT stop at the first timelock-shaped contract — if its admin is itself called by another contract, keep walking. The grading delay is the SUM OF DELAYS ON THE UNCONTESTED FAST PATH (shortest time a proposal with no opposition can go from submission to executable). Dynamic / contested extensions (veto signaling, rage quit, escrow delay) are modifiers, not the basis — note them separately. - **C4.** Enumerate EVERY multisig with reachable control — main proxy admin, emergency activation, emergency execution, reseal / pause, gate-seal committees, tiebreaker, per-module admins. For each Safe, fetch threshold + owners + version via `/api/safe/owners?chainId=<id>&address=0x...` (response includes raw eth_call data, so the URL is citable evidence). Enumerate ops/council/incentives multisigs even when off the upgrade path — record their scope so a reader can see they are NOT on the upgrade path. For each: (a) address, (b) threshold / total signers, (c) signer identities classified as insider (team, paid auditors under ongoing engagement, mandated service providers) vs non-insider (independent community members, unaffiliated researchers), (d) the specific power held (upgrade, pause, parameter, etc.). - **C5.** On-chain governance: Governor / GovernorBravo / OZ Governor / Aragon Voting with token-weighted voting? Record proposal threshold, voting period, quorum, and the timelock delay between queue and execute. Every numeric constant must come from a Read Contract call you can link to, or be in unknowns[] with the C-code. If votingDelay / votingPeriod are denominated in BLOCKS, convert to seconds at the chain's CURRENT block time (Ethereum mainnet ≈ 12s post-Merge, not the 15s in older Compound/Bravo deployments) — cite both block count and converted seconds. - **C6.** EMERGENCY POWERS: separate emergency-pause / guardian role with a different time cap or different actor than the main upgrade authority? Record it explicitly. - **C7.** POWER TIER (blast radius). For each privileged path in C3–C6, classify the WORST thing that path can do, choosing the highest applicable tier. Cite the specific function name and any on-chain bound — tier claims without a named function are unsupported. - **T1 — FUND-CRITICAL**: replace implementation of contracts holding user funds; change AMM math / accounting / collateral logic; mint unbacked debt or shares; pause withdrawals; drain user-fund treasury; change oracle to attacker-controlled source; replace upgrade admin with EOA. - **T2 — ECONOMICALLY MATERIAL**: change fee parameters within bounded ranges; redirect protocol fees; add/remove markets / collateral types; bounded inflation or token mint within hard-capped schedule; spend protocol-owned (non-user) treasury. - **T3 — GOVERNANCE-INTERNAL**: change voting rules, quorum, voting period, proposal threshold; upgrade the Governor itself; rotate Timelock admin; mint governance tokens within a capped annual schedule. - **T4 — OPERATIONAL**: incentives distribution, grants, ENS / frontend canonicalization, deployment coordination, periphery router deprecation. The grade is set by the HIGHEST tier reachable on the uncontested fast path, not the median. State the tier and the binding function in the verdict. ### Read Contract discipline (applies to C3, C4, C5) Every numeric constant cited (timelock delays, voting periods, multisig thresholds, quorum percentages) must come from EITHER (a) a block-explorer Read Contract URL, OR (b) a DeFiPunkd `/api/contract/read` or `/api/safe/owners` URL (preferred with `&block=<n>` for content-addressed evidence), OR (c) an unknowns[] entry with the C-code. Docs / blog posts are corroboration only — they cannot be the sole citation for a value that is also readable on-chain. ### Off-chain-only substitute hierarchy (when grading_basis="off-chain-only" — see preamble Rule 16) When on-chain reads were genuinely unreachable this run, eligible off-chain substitutes in priority order: 1. Linked audit PDFs (admin roles, multisig members, timelock delays usually enumerated). 2. Governance forum posts that quote constants from a successful on-chain proposal (cite post URL + linked execution-tx URL). 3. Official protocol docs pages with named addresses and roles (must be on a domain owned by the protocol). 4. GitHub README / SECURITY.md / governance/*.md at a pinned commit SHA. Forbidden substitutes: third-party blog posts, X / Twitter threads, search-result snippets, model memory. Required degradation: any C-code citing a numeric constant from docs/forum/audit prose ONLY must also carry an `unknowns[]` entry with `-offchain` suffix noting "value not re-read on-chain in this run; corroboration only". ### Grade rules (apply the timelock bar conditional on the highest C7 tier reachable on the fast path) Security Council standard (used below): a multisig qualifies as "Security Council" only if ALL of: ≥7 signers, ≥51% threshold, ≥50% non-insider signers, every signer publicly announced. Failing any criterion = NOT a Security Council, regardless of signer reputation. - **green**: highest reachable tier is T3 or T4 regardless of timelock; OR T2 reachable with uncontested-fast-path delay ≥7 days; OR T1 reachable only via immutable contracts (T1 is unreachable); OR T1 reachable with uncontested-fast-path delay ≥7 days combined with a Security Council multisig; OR T1 reachable with uncontested-fast-path delay ≥7 days through active on-chain governance with broad token distribution. - **orange**: T2 reachable with uncontested-fast-path delay >0 but <7 days; OR T1 reachable with uncontested-fast-path delay >0 but <7 days; OR a multisig failing one or more Security Council criteria sits on a T1/T2 path; OR unclear upgrade authority on a T1/T2 path; OR governance with very short timelock or low quorum on a T1/T2 path. - **red**: T1 reachable with no timelock by a single EOA or 2-of-3 multisig; OR a T1 upgrade admin that is not a smart contract you can audit. - **unknown**: completed the checklist but still cannot determine the upgrade authority OR cannot classify the highest tier reachable on the main contracts. Tiering caveats: - "Bounded" must be enforced ON-CHAIN to count as T2. A function that sets fees with no upper-bound check is T1 — cite the bound check. - Recurring T2 economic extraction (e.g. fee redirect with no rate limit) approaches T1 over time. A single proposal that can permanently redirect all future revenue is T1. - T3 assumes the governance contract cannot itself authorize a T1/T2 action without going through the same timelock. If governance can self-upgrade to bypass the timelock, T3 collapses into T1. - Do not downgrade tier by hand-waving ("realistically governance would never…"). Tier on what the contract permits, not what feels likely. Notes: - **Dynamic / dual-governance timelocks** (Lido, Compound escrow veto): the rubric grades on the uncontested path because that is the path most upgrades take. A dynamic extension that fires only under stake-weighted opposition is a real protection — name it in the green steel-man, but it does not lift an orange fast path into green; state the tension in the verdict. - **Immutable cores with upgradable governance** (Uniswap-style): if fund-holding contracts are immutable and have no admin-reachable function moving / freezing / re-routing user funds, the highest reachable tier on the upgrade path is T3 — green regardless of timelock. Don't grade this orange just because the Governor is a proxy — that's a C2 fact, not a downgrade. Downgrade only applies if you can cite a concrete function on the upgradable surface that reaches T1 or T2 (privileged hook, upgradable factory controlling fund-routing, fee-switch redirecting protocol revenue without bound). - **The 7-day bar** reflects the exit-window standard — users need notice after a queued upgrade to withdraw if they disagree. The ability-to-exit slice grades the exit side; this slice grades the delay side; both must hold for users to actually benefit from the delay. --- ### Slice: ABILITY-TO-EXIT Evaluate whether users can withdraw their funds on their own terms, even under adversarial admin conditions. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - E1. Enumerate every user-facing exit function in the main contracts: withdraw, redeem, burn, requestWithdrawal, claim, exit, etc. List them by name. Do NOT treat the contract as a monolith. - E2. For EACH exit function in E1: identify its access modifiers and any pause guards (e.g. _checkResumed, whenNotPaused, onlyRole). Functions that gate REQUEST PLACEMENT often differ from functions that CLAIM FINALIZED FUNDS — check both separately. - E3. For each pause guard: identify the role holder (which address holds PAUSE_ROLE / GUARDIAN / etc.) and the maximum pause duration. Specifically check whether PAUSE_INFINITELY (or equivalent uncapped pause) is callable, and which actor can call it (single multisig vs governance vote). For role-holder reads use https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=hasRole&args=0x...,0x... or &method=getRoleAdmin&args=0x.... For "is currently paused" checks use &method=paused or &method=isPaused&args=<resume-code>. Use the BARE method name (no parens). Cite the URL with &block=<n> in evidence[]. - E4. EMERGENCY vs GOVERNANCE pause distinction: many protocols have a fast-acting emergency pause capped at N days and a slow governance pause that can be indefinite. Record both paths separately if present, with their time caps and actor classes. - E5. Queued redemption: documented maximum queue duration, daily withdrawal caps, whether the queue itself is pausable. - E6. Forced-exit / escape-hatch / permissionless emergency-exit mechanism for adversarial-admin scenarios. - E7. Frontend dependency: confirm exit functions are directly callable on-chain (e.g. via Etherscan write tab or a generic wallet) without the project's frontend. Then write the steel-man section per Hard Rule 11. Common red-vs-orange tension on this slice: indefinite pause exists (suggests red) BUT the realistic emergency path is time-capped AND claims of already-finalized exits are not pause-gated (suggests orange). Resolve this by stating who can do what for how long, not by stopping at the worst-case sentence. Grade rules: - green = permissionless exit; pause is either absent, narrowly scoped to clearly-described emergencies with auto-expiry, or capped at ≤7 days; no frontend dependency for exit; claims of already-finalized exits are not pause-gated under any path. - orange = pausable with broad scope OR indefinite pause is reachable only through governance vote (not unilateral admin action), OR queued redemption with documented max > 7 days, OR claims-of-finalized are exempt but new-request placement can be paused indefinitely by governance. - red = exit requires admin signature, OR ANY actor (including governance) can pause CLAIMS of finalized exits indefinitely, OR there is no on-chain exit function at all (purely custodial), OR pause is held by a single EOA / 2-of-3 multisig with no time cap. - unknown = checklist incomplete after checking the sources above. --- ### Slice: AUTONOMY Evaluate this protocol's autonomy: can a failure of anything outside its own contracts cause theft or loss of user principal, loss of unclaimed yield, or materially change the protocol's expected performance? "Autonomy" is not "has zero external touchpoints" — it is "external failures are either survivable or recoverable without user loss". This slice adapts DefiScan v1's Autonomy dimension; dependencies are one of several criteria, not the whole frame. GUARDRAILS (read before grading): - Category alone (Liquid Staking, Bridge, RWA Lending, Restaking, …) does NOT force a grade. A category is a hint about where to look; the grade must come from the concrete A1–A9 findings below. - Base-chain consensus (Ethereum PoS, the chain's validator set, the canonical Deposit Contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa) is the SUBSTRATE, not a dependency, for any protocol deployed on that chain. Do not list "depends on Ethereum" as a finding. - Oracles or other integrations used by DOWNSTREAM protocols that happen to read this protocol's token (e.g. Chainlink stETH/USD consumed by Aave) are NOT this protocol's dependencies. Count only what THIS protocol's contracts call or trust on-chain. If a feed or contract appears in the protocol's docs only as reference material for third-party integrators, EXCLUDE IT ENTIRELY — do not log it as a finding even with a "peripheral" or "referenced only" caveat. - "Upgradeable admin can change things" belongs to the CONTROL slice; only count it here when the upgrade surface lets governance silently swap an external dependency (see A9). - Underlying-asset risk in opt-in, isolated markets is NOT autonomy-red on its own. When a protocol wraps third-party yield-bearing assets (LSTs, LRTs, ERC-4626 vaults, lending receipts, restaked tokens) into per-market silos that users explicitly choose, a failure of one underlying does NOT propagate to other markets and is risk the user opted into per-market. Record it under A4 with depth and propagation scope, but do not let it alone drive a red verdict — red requires an external dependency that cross-cuts the protocol or that the user did not opt into at deposit time. A failure mode that is "if the LRT you deposited is hacked, your principal in that LRT-backed market is impaired" is the underlying's autonomy story, not this protocol's; grade it on whether THIS protocol introduces additional dependencies on top. - Sub-module enumeration is mandatory before grading. If the protocol ships distinct product lines or modules (e.g., a v2 core AMM plus a newer perps/funding-rate module, a lending pool plus a separate vault layer, an L1 core plus a cross-chain extension), enumerate each in findings and grade against the WORST module weighted by its share of TVS or its blast radius. A green core does not rescue an orange/red sub-module; conversely, a small red sub-module with capped TVS may bound the overall grade to orange. Name each module by its on-chain factory or router address. If you do not know whether a module exists, that is an unknowns[] entry, not silence. EXPLICIT TVS WEIGHTING: in the verdict, state each module's approximate share of total protocol TVS (use "~X%" if exact figures unavailable; check DeFiLlama or block-explorer balances on the module's main contract) and how that share informs the weighted grade. Format: "Module A holds ~X% of TVS (grade: <g>); Module B holds ~Y% (grade: <g>); weighted overall = <grade> because <reason>." If a red sub-module holds <5% of total TVS and is capped, the overall grade may be orange; if it holds >25%, the overall grade is red. Do not let qualitative reasoning substitute for the percentages — write the numbers. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. External contract calls. Enumerate every external contract the core contracts call or read from (oracles, price feeds, AMM pools, lending pools, staking/deposit contracts, yield wrappers). For each, identify the address, the provider, and what user-facing function of this protocol would break or mis-price if that external contract paused, mis-reported, or behaved adversarially. Grep for "oracle", "aggregator", "getPrice", "latestAnswer", "chainlink", "pyth", "redstone" as a starting point. To verify an oracle is live and what it currently reports, hit https://defipunkd.com/api/contract/read?chainId=<id>&address=<oracle>&method=latestAnswer (or &method=latestRoundData, &method=getPrice, &method=description; use the BARE method name without parens) and cite the URL — the response includes blockNumber/blockHash and rawReturnData, which is stronger evidence than a docs page about which feed "should" be used. - A2. Off-chain actor committees reporting INTO the protocol. Oracle committees, guardian multisigs, DAO-selected validator sets acting as protocol reporters, exit-bus signers, fraud-proof challengers. For each, record committee size, quorum, who picks the members, and what mis-reporting could do (mint, burn, finalize withdrawal, freeze). Distinguish this from governance admins (control slice). NOTE ON STAKING PROTOCOLS: validator slashing and node-operator misbehavior are properties of the base-chain substrate, NOT external dependencies, when the operator set is diversified enough that a coordinated failure caps at <5% principal loss. Count validator/operator risk under A2 ONLY if the operator set is small, non-diversified, or lacks bonding / slashing-insurance / diversification mitigations. A curated set of 30+ independent operators with documented diversification falls under the mitigated path; a 3-operator LST does not. Do not cite the protocol's own risk disclosure as evidence that operator failure = principal loss unless you also check the diversification and bond mitigations. - A3. Bridge / cross-chain messaging dependencies. Only count bridges that carry material TVL or are required for a core user flow. For each, name the bridge operator (canonical L1↔L2, LayerZero, Wormhole, Axelar, custom multisig), the trust model (canonical, optimistic, light-client, guardian set), and what fraction of TVL or users ride on it. "wstETH exists on 15 chains" is not a finding unless material TVL sits there. Before listing any non-primary chain deployment as a dependency, verify it is still operational as of analysis_date — retired or sunset deployments (e.g., Lido-on-Terra, Lido-on-Solana) belong in unknowns[] or should be omitted, never cited as a current dependency. - A4. Nested collateral / restaking chains. For restaking / LRT / receipt-of-receipt designs: record the depth of the collateral chain, every actor with slashing or freezing power at each level, and whether a failure N levels deep propagates to user principal here. - A5. Fork lineage (silent check). If DeFiLlama's forkedFrom is non-empty, record it as one finding and move on. If empty, do NOT add a placeholder finding; it adds noise. - A6. Fallback mechanisms and circuit breakers. What catches an external failure? Sanity-check contracts on oracle reports, rebase bounds, pause paths triggered by bad prices, second-opinion oracles, max-per-block throughput caps, withdrawal queues that absorb bad reports. Record which A1–A4 risks are mitigated by which fallback, and which are unmitigated. For EACH fallback you cite, state its activation status explicitly: (i) LIVE and enforcing on-chain today, (ii) DEPLOYED but not yet wired / activated (e.g., interface exists but the address is zero or the role is unassigned), or (iii) DOCUMENTED / PROPOSED only (forum post, LIP draft, audit pending). Only (i) counts as mitigation for the grade. A fallback in state (ii) or (iii) should be noted but must not reduce the risk in your steel-man or verdict. If you cannot determine activation status, add an unknowns[] entry rather than assume it is live. - A7. Sequencer / L1-liveness dependency BEYOND the base-chain substrate. SCOPE — sequencer risk only counts here when the protocol IS its own L2/L3 appchain or app-rollup, where the sequencer is part of the protocol's own stack and a freeze is a protocol-level outage. A protocol permissionlessly deployed on a third-party L2 inherits that L2's sequencer as substrate, not an A7 dependency. Record the sequencer/DA trust model when A7 applies. - A8. Keeper / relayer / off-chain bot liveness. Protocols that need permissionless-but-necessary off-chain actors (liquidation bots, auto-compounders, deposit relayers, intent solvers). Record whether the role is permissionless, what degrades if nobody runs it (yield paused, bad debt accumulates, positions go stale), and whether the failure mode is graceful or catastrophic. - A9. Governance-mutable dependency surface. Can an admin or DAO action silently INTRODUCE a NEW EXTERNAL dependency — swap the oracle address to a different provider, register a new staking module that calls an untrusted contract, add a new bridge, route SY through a new external vault — without an exit window for users? Check the upgrade / router / module-registry contracts. Answer: which EXTERNAL dependencies are governance-mutable, who holds that power, and whether there is a timelock or exit window. SCOPE LIMIT — read carefully: A9 is about the *external dependency surface*, not the upgrade surface in general. "The proxyAdmin / EOA can upgrade the router implementation to arbitrary bytecode" is a CONTROL-slice finding (admin can rug), NOT an autonomy-A9 finding. A9 fires only when the upgrade specifically swaps out or adds a contract that THIS protocol calls or trusts (e.g., changing the oracle address from Chainlink to a malicious feed, registering a new SY adapter that points to a third-party vault, redirecting a bridge endpoint). If the only finding is "admin can change implementation," do not log it under A9 and do not let it drive the autonomy grade — note it under control instead. The autonomy-relevant version of the same upgrade key is "admin can swap [specific external address X] without timelock"; that requires identifying the specific external dependency that becomes mutable. STEEL-MAN (per Hard Rule 13): write one-sentence strongest arguments for red, orange, and green using the A1–A9 findings. IMPACTED TVS ESTIMATE: the headline MUST include a rough impacted-TVS figure — the fraction of protocol TVS that could be lost or frozen if the worst-unmitigated dependency you identified failed. Use "~X%" if exact numbers are unavailable, "<1%" for de minimis, "unclear" only if A1–A9 left the question genuinely open (in which case grade=unknown is usually correct). Do NOT substitute qualitative phrases like "significant" — give a number or bracket. GRADE ANCHORS (mapped to DefiScan v1 stages): - green = Stage 2 equivalent. Failure of any external dependency cannot cause loss of user principal or unclaimed yield. Either there are no material external dependencies, or every critical one has a documented fallback (A6) that keeps users whole. Governance cannot silently introduce new dependencies without an exit window (A9). Impacted TVS under any single-dependency failure: effectively 0. - orange = Stage 1 equivalent. Failure of some external dependency can cause loss of unclaimed yield, or can materially change expected performance (pause withdrawals, freeze positions, degrade price quality), but cannot cause loss of principal. Committee-based oracles with sanity checks, canonical-only bridges, fallback paths that exist but are incomplete, or governance-mutable dependencies protected by a ≥7-day timelock. Impacted TVS is bounded and recoverable. - red = Stage 0 equivalent. Failure of an external dependency CAN cause theft or loss of principal. Examples: single-provider oracle with no sanity check or fallback, material TVL on a non-canonical bridge with a guardian multisig, governance can hot-swap oracles or add staking modules with no timelock or exit window, unmitigated keeper-liveness dependency where positions become insolvent if bots stop. Impacted TVS is material. - unknown = checklist incomplete after inspecting source + verified contracts. Prefer unknown over guessing when A1/A6 could not be reconstructed. RESERVE unknown for cases where the CORE ARCHITECTURE itself is unverifiable — not for cases where you merely cannot enumerate every per-market dependency in a multi-market protocol. If the core router/factory/oracle architecture is verifiable on-chain and you can determine whether the core requires external dependencies, grade the architecture even when an exhaustive per-market external-dependency census is infeasible. Acknowledge the per-market gap in unknowns[] but still issue a grade. Refusing to grade a multi-market protocol because you cannot list every SY/vault/market is over-use of unknown; grade the architecture and say so. PROMPT-META CHECK (per Hard Rule 17): before finalizing, verify the verdict cites concrete contract addresses, docs, or code — not the rubric itself. If your verdict says "the protocol belongs to a category the rubric marks red", rewrite it with the A1–A9 finding that actually justifies the grade, or drop to grade=unknown. --- ### Slice: OPEN-ACCESS Evaluate who is allowed to use the protocol and whether any of that permission is granted off-chain. Scope: this slice is about ADMISSION — who can enter, exit, or transact. Operator LIVENESS (what breaks if keepers/oracles go offline) is assessed in the dependencies slice and is out of scope for the grade here. You may note operator dependencies as context, but do not let "the protocol halts if operator X disappears" drive the access grade on its own; that belongs in dependencies. Source verification / contract verification on block explorers is assessed in the verifiability slice and is out of scope here — do NOT let "contract is unverified" drive the access grade. Framing: the smart contracts are the access layer; frontends are UX. A permissionless contract is reachable by any client (SDK, third-party UI, aggregator, wallet integration). Frontend ToS, IP geo-blocking, and wallet screening are publisher policies on one specific client — they are reported as context but do NOT determine the grade. The grade hinges on (1) what the contract itself permits, and (2) whether the protocol is practically reachable without the official publisher's cooperation. Meta-check before finalizing: if your verdict cites phrases from this prompt as evidence ("the protocol meets the 'credible alternatives' condition", "this fits the 'documented fallback' rule"), redo the verdict. The prompt describes the rubric; evidence must come from the protocol. A verdict should cite what the protocol does, not what the rubric says. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. Whitelist / allowlist modifiers in user-facing entry points. Grep for "onlyWhitelisted", "onlyRole", "allowlist", "isAccredited", "isKYCed". Note which functions are gated and who can add/remove from the list. - A2. Off-chain operators in the admission path: keepers, sequencers, privileged relayers, oracle posters whose approval is required to admit a user action (not just to keep the protocol live). For each, identify whether the role is held by a single operator, a permissioned committee, or is permissionless. Enumerate per user-facing function class (deposit vs withdraw-request vs claim-finalized vs transfer) which ones require operator approval to be admitted, and which ones admit users unconditionally. A function whose placement is unconditional but whose downstream settlement depends on an operator is an admission-permissionless function — flag the liveness dependency as context and defer its grading weight to the dependencies slice. - A3. Frontend restrictions on the official interface — record as context, not as a grade lever. Distinguish: - A3-passive: boilerplate ToS clauses (sanctions attestation, restricted-territory self-certification, VPN-circumvention prohibition, "comply with applicable law" eligibility, age of majority). - A3-active: runtime enforcement — IP-based geo-blocking, wallet-address screening against a sanctions oracle (Chainalysis, TRM, Elliptic), KYC wall, rendering-blocking jurisdiction banner. Record findings under the correct tier. Quote ToS text or banner text in evidence[].shows. These findings populate the headline and rationale but do NOT move the grade by themselves; the grade is set by A1, A2, and the A3b path check below. - A3b. Independent access paths (the operative grade input). Enumerate paths that do not require the official publisher's cooperation: - Published SDK / library / CLI for direct contract interaction. - Third-party frontends operated by separate legal entities. - Wallet-integrated access (MetaMask Swaps, Safe apps, etc.). - DEX / lending / yield aggregators that route through the contracts. Record at least one concrete link per path that exists. The protocol does NOT have to self-document these — the test is existence, not UX cost. An A3b-i redistribution of the official UI bound by the same ToS does NOT count as an independent path. - A4. Sanctions / compliance tooling at the contract level: does the protocol check addresses against OFAC lists or similar on-chain blocklists in the contract itself? (Frontend-only screening belongs in A3.) - A5. Differentiate read access vs write access: many protocols are read-permissionless (anyone can view state) but write-gated (only certain addresses can deposit/borrow). Record both. - A6. ToS / Legal links: locate them on the website and produce a VERBATIM quote of any jurisdictional, sanctions, or eligibility clause in evidence[].shows. If you cannot extract the clause text verbatim (SPA render failure, paywall, dead link, etc.), do NOT paraphrase or infer from general knowledge — record the ToS URL in unknowns[] with the reason extraction failed. Assertions about ToS content without a verbatim quote will be downweighted by reviewers. Then write the steel-man section per Hard Rule 11. Grade rules (admission-focused; liveness concerns belong in dependencies; source verification belongs in verifiability): - green = no contract-level whitelist/KYC on user entry/exit; no operator approval required to admit a user action; AND at least one independent A3b path exists (published SDK, third-party frontend, wallet integration, or aggregator routing). Frontend ToS posture and A3-active enforcement on the official UI do NOT block green when contracts are permissionless and an independent path exists — they are reported as context. - orange = contracts admit users unconditionally, BUT the protocol is operationally captured by the official publisher: no published SDK, no third-party frontend, no wallet integration, no aggregator routing. The contract is theoretically open but practically reachable only through the official UI. Also applies when admission requires approval from a permissioned committee that is governance-managed with a documented replacement procedure. - red = contract-level whitelist / KYC on user entry/exit, OR admission of a core user action requires approval from a single privileged operator or a small committee with no documented replacement procedure, OR enforces an on-chain blocklist updatable by a single party. - unknown = checklist incomplete after checking the sources above. Default-grade guidance: when contracts are fully permissionless AND any A3b independent path exists, the default grade is green regardless of frontend ToS or A3-active enforcement on the official UI. Frontend geo-blocking, sanctions-oracle wallet screening, and ToS sanctions clauses are publisher policies on one client and are reported in findings/headline as context, not as grade levers. To grade orange on operational-capture grounds, the auditor must affirmatively show that ALL independent paths are absent or also gated. Guideline on committees: where admission depends on a multi-operator committee, the relevant axes are (a) set size, (b) whether replacement/rotation is governed on-chain, (c) whether the replacement procedure is publicly documented. A large set with on-chain governance replacement should not be graded as a single-party operator even if rotation is not instantaneous. A small set with informal replacement should be treated as a single-party operator. --- ### Slice: VERIFIABILITY Evaluate whether an outsider can independently confirm what the deployed code does. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - V1. For each address you assess: is the bytecode verified on the chain's block explorer? Record the "Contract Source Code Verified" indicator. https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... returns this as a top-level "verified" boolean plus "abiSource" ("etherscan" / "sourcify") and an inline ABI — useful when the explorer page is rate-limited. If the contract is a proxy, verify BOTH the proxy contract AND the current implementation contract. The same /api/contract/abi response auto-resolves proxies and includes a "proxy.implementation" address when present, so one call covers V1 + V6 in one shot. An explorer "Similar Match" on a well-known proxy pattern (Aragon AppProxyUpgradeable, ERC1967Proxy, OssifiableProxy, OZ TransparentUpgradeableProxy) is expected for that pattern and does NOT count as a verification gap on its own — what matters is that the implementation is independently verified. - V2. Source-to-repo correspondence: for each verified contract, attempt to find a matching commit in the linked GitHub repos. Record evidence[].commit on a match. Independent compile/bytecode-match is NOT required for green — a recognized public repo whose structure and file contents correspond to the explorer-visible source is sufficient. If you did not pin a commit SHA or run a bytecode diff, record that plainly in unknowns[] and proceed; it is a scope limit, not a downgrade signal. - V3. Audit coverage: for each URL in protocol.audit_links, open it and record: auditor name, audit date, the specific contracts / commit in scope. Flag audits that predate the current deployment by >6 months without a follow-up review. - V4. Auditor recognition: the following firms are broadly recognized in Solidity: Trail of Bits, Zellic, Spearbit, OpenZeppelin, ConsenSys Diligence, Certora (formal verification), Quantstamp, Halborn, Peckshield, Sigma Prime, ChainSecurity, Ackee Blockchain, MixBytes, Statemind. Unknown firms are orange-at-best for any green-grade claim. Name the firm explicitly in evidence[]. - V5. Post-audit drift: compare the most recent in-scope audit(s) against the currently-deployed source, weighted by what each contract does and by what the changes actually contain. SCOPE — drift only downgrades the grade when ALL of the following hold: (i) the drifting contract is fund-custody / settlement / accounting-critical (NOT a peripheral router, lens, quoter, or pure-view contract that holds no balances); (ii) the changes are material — new functions, modified access control, modified accounting, modified fund flow — and not refactors / struct relocations / import reorgs / build or CI fixes / formatting; (iii) no later audit, fix-audit, or differential audit from a recognized firm covers the changed files (audits often pin a pre-fix commit while a follow-up reviews the delta — match by file scope, not by commit-hash equality). When you cite drift as a downgrade reason, name the specific behavior change (function added, role granted, accounting formula altered) — "N commits ahead" or "+X/-Y LOC" alone is not evidence of material drift. If you have not sampled the diff content (e.g. via the GitHub compare view or the top commits in the window), record drift as an unknowns[] entry rather than auto-downgrading; commit-count and LOC are starting signals, not findings. - V6. Implementation vs proxy: a verified proxy with an unverified implementation is effectively unverified. State whether the implementation is verified separately. EVIDENCE DISCIPLINE (read before writing findings[]): - Do not assert a specific deploy-commit SHA, bytecode equivalence, or "identical to audited commit" unless you actually fetched the artifact that shows it (e.g., a deployed-addresses JSON you opened, an explorer page you read). Inferred or plausible matches belong in unknowns[], never in findings[] or evidence[]. - Evidence[] entries must correspond to pages/files you actually retrieved this run. A URL you did not open is not evidence. Then write the steel-man section per Hard Rule 11. Grade rules: - green = deployed bytecode verified on the explorer (proxy AND implementation if proxied; "Similar Match" on a standard proxy pattern is fine per V1), a public source repo exists whose contents correspond to the explorer-visible source, AND ≥1 audit from a recognized firm covering the currently-deployed contracts (≤6 months of drift OR drift was re-audited). A missing local compile-match is not a downgrade — record it in unknowns[] and still grade green if the other conditions hold. - orange = verified but with visible drift from the public repo, OR audit scope is stale relative to deployment, OR only minor / unknown-firm audits exist, OR only some of the main contracts are verified, OR proxy verified but implementation only partially verified. - red = unverified bytecode (or verified proxy with unverified implementation), OR no audit in protocol.audit_links, OR no public repo. - unknown = reserved for when the protocol's verifiability posture genuinely cannot be assessed (e.g., explorer and repo both inaccessible for this protocol). Do NOT use unknown merely because you, the analyst, could not run a particular check such as a bytecode diff — that goes in unknowns[] while the grade is still assigned from the evidence you do have. --- ### JSON output contract Return exactly one JSON array inside a single ```json fenced block. The array MUST contain exactly five objects, one per risk slice, in this exact order: "control", "ability-to-exit", "autonomy", "open-access", "verifiability". Do not include the discovery slice. Each object has the same shape as a normal slice submission: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "<one of: control | ability-to-exit | autonomy | open-access | verifiability>", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - Produce one complete object for each of these slices only: control, ability-to-exit, autonomy, open-access, verifiability. - Reuse the same model, chat_url, snapshot_generated_at, prompt_version, analysis_date, and slug values across all five objects. - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches that object's slice checklist prefix verbatim (C1, E2, AU3, A3b, V4a, …); unknowns[] entries are checklist-coded ("C3: …"). - Wrap the array in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.
- Liquity V1 contracts verified on Etherscan, source matches public github.com/liquity/dev repo, audited by Trail of Bits (twice) and Coinspect; immutable with renounced ownership reducing audit-drift concerns.
Verdict
Choosing green because all three rubric conditions are satisfied: (a) deployed bytecode is verified on Etherscan for both BorrowerOperations and TroveManager (ABI source 'etherscan'), (b) a public source repo (github.com/liquity/dev) corresponds to the deployed system, and (c) ≥1 audit from a recognized firm (Trail of Bits, twice; Coinspect) covered the deployed contracts. The 'orange (audit staleness)' steel-man is structurally defused because owner() returns 0x0 on the inspected contracts and the protocol is immutable — there is no governance / admin path by which the deployed code could have drifted from the audited code, so the >6-month-staleness clause does not apply. The missing pinned commit-SHA / bytecode-match is a scope limit of this run, not a verifiability gap of the protocol, and is recorded in unknowns[].
Steelman argument
Steelman argument Both core contracts are verified on Etherscan, the public github.com/liquity/dev repo is the canonical source, two recognized firms (Trail of Bits, twice; Coinspect) audited the system, and immutability + renounced ownership eliminates the post-audit-drift risk that staleness would otherwise imply.Evidence (6)
- V1
- BorrowerOperations (0x2417…e007) and TroveManager (0xA397…4bb2) both report ABI source 'etherscan' on the DeFiPunkd surfacer, indicating verified source code on the Etherscan block explorer. The contract names exposed via NAME() (BorrowerOperations, TroveManager) match the source-of-record names in the Liquity V1 repo.
- V2
- The official Liquity website links to https://github.com/liquity/dev as the V1 monorepo containing the contracts, SDK and Dev UI frontend; the README explicitly describes the same TroveManager/BorrowerOperations/StabilityPool architecture observed on-chain (110% MCR, Stability Pool liquidation mechanism). A specific deploy-commit SHA was not pinned in this run.
- V3
- Liquity V1 documentation confirms the smart contract code 'has been audited twice by Trail of Bits and once by Coinspect' (per docs.liquity.org FAQ). The Trail of Bits report is available at github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, and the Coinspect engagement is documented at coinspect.com/blog/liquity-audit/ (March 2021).
- V4
- Both auditors — Trail of Bits and Coinspect — are recognized firms in the Solidity audit space. Trail of Bits is named in the slice's recognized-firm list; Coinspect has performed continuous audits across Liquity V1 and V2.
- V5
- Liquity V1 is described by the protocol team and third parties as immutable / non-upgradeable, and on-chain readout shows owner() = 0x0000…0000 on both BorrowerOperations and TroveManager (ownership renounced via OwnershipTransferred). With no upgrade path, post-audit drift on the deployed contracts is structurally bounded — the deployed bytecode at the audited addresses cannot have changed since deployment.
- V6
- These contracts are not behind upgradeable proxies — there is no implementation/proxy split to assess. The verified bytecode on Etherscan IS the running implementation.
Why is this consensus tentative?- only 0/3 sources have a public chat share link
- total support weight 0.52 below confidence floor (1.5)
A fresh independent run can strengthen (or overturn) the verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: VERIFIABILITY Evaluate whether an outsider can independently confirm what the deployed code does. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - V1. For each address you assess: is the bytecode verified on the chain's block explorer? Record the "Contract Source Code Verified" indicator. https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... returns this as a top-level "verified" boolean plus "abiSource" ("etherscan" / "sourcify") and an inline ABI — useful when the explorer page is rate-limited. If the contract is a proxy, verify BOTH the proxy contract AND the current implementation contract. The same /api/contract/abi response auto-resolves proxies and includes a "proxy.implementation" address when present, so one call covers V1 + V6 in one shot. An explorer "Similar Match" on a well-known proxy pattern (Aragon AppProxyUpgradeable, ERC1967Proxy, OssifiableProxy, OZ TransparentUpgradeableProxy) is expected for that pattern and does NOT count as a verification gap on its own — what matters is that the implementation is independently verified. - V2. Source-to-repo correspondence: for each verified contract, attempt to find a matching commit in the linked GitHub repos. Record evidence[].commit on a match. Independent compile/bytecode-match is NOT required for green — a recognized public repo whose structure and file contents correspond to the explorer-visible source is sufficient. If you did not pin a commit SHA or run a bytecode diff, record that plainly in unknowns[] and proceed; it is a scope limit, not a downgrade signal. - V3. Audit coverage: for each URL in protocol.audit_links, open it and record: auditor name, audit date, the specific contracts / commit in scope. Flag audits that predate the current deployment by >6 months without a follow-up review. - V4. Auditor recognition: the following firms are broadly recognized in Solidity: Trail of Bits, Zellic, Spearbit, OpenZeppelin, ConsenSys Diligence, Certora (formal verification), Quantstamp, Halborn, Peckshield, Sigma Prime, ChainSecurity, Ackee Blockchain, MixBytes, Statemind. Unknown firms are orange-at-best for any green-grade claim. Name the firm explicitly in evidence[]. - V5. Post-audit drift: compare the most recent in-scope audit(s) against the currently-deployed source, weighted by what each contract does and by what the changes actually contain. SCOPE — drift only downgrades the grade when ALL of the following hold: (i) the drifting contract is fund-custody / settlement / accounting-critical (NOT a peripheral router, lens, quoter, or pure-view contract that holds no balances); (ii) the changes are material — new functions, modified access control, modified accounting, modified fund flow — and not refactors / struct relocations / import reorgs / build or CI fixes / formatting; (iii) no later audit, fix-audit, or differential audit from a recognized firm covers the changed files (audits often pin a pre-fix commit while a follow-up reviews the delta — match by file scope, not by commit-hash equality). When you cite drift as a downgrade reason, name the specific behavior change (function added, role granted, accounting formula altered) — "N commits ahead" or "+X/-Y LOC" alone is not evidence of material drift. If you have not sampled the diff content (e.g. via the GitHub compare view or the top commits in the window), record drift as an unknowns[] entry rather than auto-downgrading; commit-count and LOC are starting signals, not findings. - V6. Implementation vs proxy: a verified proxy with an unverified implementation is effectively unverified. State whether the implementation is verified separately. EVIDENCE DISCIPLINE (read before writing findings[]): - Do not assert a specific deploy-commit SHA, bytecode equivalence, or "identical to audited commit" unless you actually fetched the artifact that shows it (e.g., a deployed-addresses JSON you opened, an explorer page you read). Inferred or plausible matches belong in unknowns[], never in findings[] or evidence[]. - Evidence[] entries must correspond to pages/files you actually retrieved this run. A URL you did not open is not evidence. Then write the steel-man section per Hard Rule 11. Grade rules: - green = deployed bytecode verified on the explorer (proxy AND implementation if proxied; "Similar Match" on a standard proxy pattern is fine per V1), a public source repo exists whose contents correspond to the explorer-visible source, AND ≥1 audit from a recognized firm covering the currently-deployed contracts (≤6 months of drift OR drift was re-audited). A missing local compile-match is not a downgrade — record it in unknowns[] and still grade green if the other conditions hold. - orange = verified but with visible drift from the public repo, OR audit scope is stale relative to deployment, OR only minor / unknown-firm audits exist, OR only some of the main contracts are verified, OR proxy verified but implementation only partially verified. - red = unverified bytecode (or verified proxy with unverified implementation), OR no audit in protocol.audit_links, OR no public repo. - unknown = reserved for when the protocol's verifiability posture genuinely cannot be assessed (e.g., explorer and repo both inaccessible for this protocol). Do NOT use unknown merely because you, the analyst, could not run a particular check such as a bytecode diff — that goes in unknowns[] while the grade is still assigned from the evidence you do have. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "verifiability", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.Sources claude-opus-4-7 (autorun) no url gpt-5.5 no url gemini-3-flash-preview no url View raw submissions ↗ - Liquity V1 core contracts are fully immutable with ownership renounced (owner=0x0) on BorrowerOperations, TroveManager, StabilityPool, ActivePool, and PriceFeed; no proxy, no pause, no admin parameter setters reachable.
Verdict
Choosing green because on-chain reads at block 25052268–25053830 show owner()==address(0) on all five inspected core contracts (BorrowerOperations, TroveManager, StabilityPool, ActivePool, PriceFeed), and their verified ABIs contain no proxy upgrade hooks, no pause, no parameter setters, and no governor wiring — so the highest tier reachable on any control path is 'no path exists,' which clears the rubric's 'T1 reachable only via immutable contracts' green criterion. The orange steel-man (oracle dependency) is a verifiability concern, not a control concern, since Liquity itself cannot rotate the oracle.
Steelman argument
Steelman argument Every core contract reads owner()==0x0, ABIs contain no upgrade / pause / parameter-setter functions, and the only Ownable-gated method (setAddresses) is permanently unreachable; the contract surface that exists today is the contract surface that will exist forever.Evidence (7)
- C1
- owner() returns 0x0000000000000000000000000000000000000000 on BorrowerOperations (0x24179CD8…), TroveManager (0xA39739EF…), StabilityPool (0x66017D22…), ActivePool (0xDf9Eb223…), and PriceFeed (0x4c517D4e…). Ownership has been renounced on all core fund-holding and price-source contracts.
- C2
- No proxy pattern is present on any core contract. The verified ABIs contain no upgradeTo/upgradeToAndCall, no implementation(), no admin/proxyAdmin, no diamond facet methods. All bytecode is the running implementation; the system is immutable by construction.
- C3
- There is no execution path. The only privileged write surface on each core contract is setAddresses(...), a one-shot initializer guarded by Ownable; with owner()==address(0), Ownable's onlyOwner modifier reverts every call. No timelock exists because no privileged path exists.
- C4
- No multisig has reachable control on the core protocol contracts inspected — owner()==0x0 on every one. (Peripheral addresses such as CommunityIssuance / LQTYStaking, surfaced as crawl manifest entries, were not inspected this run; recorded as unknowns.)
- C5
- No on-chain governance contract is wired into BorrowerOperations / TroveManager / StabilityPool / ActivePool / PriceFeed. None of these contracts expose a governor / timelock / voting setter; LQTY is a non-voting reward / staking token in V1.
- C6
- No emergency pause, guardian, or freeze role exists on any core contract inspected. Their ABIs contain no pause(), no setPaused(), no guardian, no emergency methods. The only immutable parameters are hard-coded constants (MCR=110%, CCR=150%, MIN_NET_DEBT=1800 LUSD, MAX_BORROWING_FEE=5%, BOOTSTRAP_PERIOD=1209600s).
- C7
- Highest reachable tier on the upgrade path: NONE. T1 fund-critical actions (replace implementation, change collateral logic, drain user funds, pause withdrawals) are unreachable because no privileged surface remains. T2/T3/T4 are likewise unreachable. This satisfies the green rule 'T1 reachable only via immutable contracts (T1 is unreachable).'
Why is this consensus tentative?- only 0/3 sources have a public chat share link
- total support weight 0.52 below confidence floor (1.5)
A fresh independent run can strengthen (or overturn) the verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: CONTROL Evaluate who can change the protocol's rules, how fast, and how broadly. (Step 0 capability probe and the off-chain-only fallback live in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]) - **C1.** For each address you assess: who is the contract owner / admin / pendingAdmin / governor — read these via the block explorer's "Read Contract" tab OR `https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=owner` (BARE method names: `&method=owner`, `&method=admin`, `&method=pendingOwner`, `&method=governor`). For Safes use `/api/safe/owners?chainId=<id>&address=0x...`. When a protocol has multiple major versions deployed (v2/v3/v4), perform C1 reads on the NEWEST deployment separately — newer deployments often have weaker control surfaces than the legacy core. - **C2.** Upgrade mechanism: transparent proxy / UUPS / Beacon / Diamond / immutable. Identify the proxy admin address. Check upgradeability of GOVERNANCE contracts too — a Governor / Aragon Voting / OZ Governor is often itself a proxy whose admin is the Timelock. Asymmetry: when fund-holding cores are immutable AND governance has no admin path that reaches them, an upgradable Governor/Timelock is T3-only and must NOT drag the verdict below green on that basis alone (see grade rules and the "immutable cores" caveat). Only call upgradability "mixed" if you can name a concrete function on the upgradable surface that reaches T1 or T2 on user funds. - **C3.** EXECUTION PATH (enumerate every stage, in order, with delays in seconds). The operative path is usually a chain (voting → scheduler → timelock → executor; or governor → queue → execute; or Aragon Voting → DualGovernance → EmergencyProtectedTimelock → AdminExecutor). For each stage, record (a) the contract address, (b) the delay constant name + value in seconds, (c) the URL you read it from (block-explorer Read Contract OR `/api/contract/read?...&method=MIN_DELAY&block=<n>`). Do NOT stop at the first timelock-shaped contract — if its admin is itself called by another contract, keep walking. The grading delay is the SUM OF DELAYS ON THE UNCONTESTED FAST PATH (shortest time a proposal with no opposition can go from submission to executable). Dynamic / contested extensions (veto signaling, rage quit, escrow delay) are modifiers, not the basis — note them separately. - **C4.** Enumerate EVERY multisig with reachable control — main proxy admin, emergency activation, emergency execution, reseal / pause, gate-seal committees, tiebreaker, per-module admins. For each Safe, fetch threshold + owners + version via `/api/safe/owners?chainId=<id>&address=0x...` (response includes raw eth_call data, so the URL is citable evidence). Enumerate ops/council/incentives multisigs even when off the upgrade path — record their scope so a reader can see they are NOT on the upgrade path. For each: (a) address, (b) threshold / total signers, (c) signer identities classified as insider (team, paid auditors under ongoing engagement, mandated service providers) vs non-insider (independent community members, unaffiliated researchers), (d) the specific power held (upgrade, pause, parameter, etc.). - **C5.** On-chain governance: Governor / GovernorBravo / OZ Governor / Aragon Voting with token-weighted voting? Record proposal threshold, voting period, quorum, and the timelock delay between queue and execute. Every numeric constant must come from a Read Contract call you can link to, or be in unknowns[] with the C-code. If votingDelay / votingPeriod are denominated in BLOCKS, convert to seconds at the chain's CURRENT block time (Ethereum mainnet ≈ 12s post-Merge, not the 15s in older Compound/Bravo deployments) — cite both block count and converted seconds. - **C6.** EMERGENCY POWERS: separate emergency-pause / guardian role with a different time cap or different actor than the main upgrade authority? Record it explicitly. - **C7.** POWER TIER (blast radius). For each privileged path in C3–C6, classify the WORST thing that path can do, choosing the highest applicable tier. Cite the specific function name and any on-chain bound — tier claims without a named function are unsupported. - **T1 — FUND-CRITICAL**: replace implementation of contracts holding user funds; change AMM math / accounting / collateral logic; mint unbacked debt or shares; pause withdrawals; drain user-fund treasury; change oracle to attacker-controlled source; replace upgrade admin with EOA. - **T2 — ECONOMICALLY MATERIAL**: change fee parameters within bounded ranges; redirect protocol fees; add/remove markets / collateral types; bounded inflation or token mint within hard-capped schedule; spend protocol-owned (non-user) treasury. - **T3 — GOVERNANCE-INTERNAL**: change voting rules, quorum, voting period, proposal threshold; upgrade the Governor itself; rotate Timelock admin; mint governance tokens within a capped annual schedule. - **T4 — OPERATIONAL**: incentives distribution, grants, ENS / frontend canonicalization, deployment coordination, periphery router deprecation. The grade is set by the HIGHEST tier reachable on the uncontested fast path, not the median. State the tier and the binding function in the verdict. ### Read Contract discipline (applies to C3, C4, C5) Every numeric constant cited (timelock delays, voting periods, multisig thresholds, quorum percentages) must come from EITHER (a) a block-explorer Read Contract URL, OR (b) a DeFiPunkd `/api/contract/read` or `/api/safe/owners` URL (preferred with `&block=<n>` for content-addressed evidence), OR (c) an unknowns[] entry with the C-code. Docs / blog posts are corroboration only — they cannot be the sole citation for a value that is also readable on-chain. ### Off-chain-only substitute hierarchy (when grading_basis="off-chain-only" — see preamble Rule 16) When on-chain reads were genuinely unreachable this run, eligible off-chain substitutes in priority order: 1. Linked audit PDFs (admin roles, multisig members, timelock delays usually enumerated). 2. Governance forum posts that quote constants from a successful on-chain proposal (cite post URL + linked execution-tx URL). 3. Official protocol docs pages with named addresses and roles (must be on a domain owned by the protocol). 4. GitHub README / SECURITY.md / governance/*.md at a pinned commit SHA. Forbidden substitutes: third-party blog posts, X / Twitter threads, search-result snippets, model memory. Required degradation: any C-code citing a numeric constant from docs/forum/audit prose ONLY must also carry an `unknowns[]` entry with `-offchain` suffix noting "value not re-read on-chain in this run; corroboration only". ### Grade rules (apply the timelock bar conditional on the highest C7 tier reachable on the fast path) Security Council standard (used below): a multisig qualifies as "Security Council" only if ALL of: ≥7 signers, ≥51% threshold, ≥50% non-insider signers, every signer publicly announced. Failing any criterion = NOT a Security Council, regardless of signer reputation. - **green**: highest reachable tier is T3 or T4 regardless of timelock; OR T2 reachable with uncontested-fast-path delay ≥7 days; OR T1 reachable only via immutable contracts (T1 is unreachable); OR T1 reachable with uncontested-fast-path delay ≥7 days combined with a Security Council multisig; OR T1 reachable with uncontested-fast-path delay ≥7 days through active on-chain governance with broad token distribution. - **orange**: T2 reachable with uncontested-fast-path delay >0 but <7 days; OR T1 reachable with uncontested-fast-path delay >0 but <7 days; OR a multisig failing one or more Security Council criteria sits on a T1/T2 path; OR unclear upgrade authority on a T1/T2 path; OR governance with very short timelock or low quorum on a T1/T2 path. - **red**: T1 reachable with no timelock by a single EOA or 2-of-3 multisig; OR a T1 upgrade admin that is not a smart contract you can audit. - **unknown**: completed the checklist but still cannot determine the upgrade authority OR cannot classify the highest tier reachable on the main contracts. Tiering caveats: - "Bounded" must be enforced ON-CHAIN to count as T2. A function that sets fees with no upper-bound check is T1 — cite the bound check. - Recurring T2 economic extraction (e.g. fee redirect with no rate limit) approaches T1 over time. A single proposal that can permanently redirect all future revenue is T1. - T3 assumes the governance contract cannot itself authorize a T1/T2 action without going through the same timelock. If governance can self-upgrade to bypass the timelock, T3 collapses into T1. - Do not downgrade tier by hand-waving ("realistically governance would never…"). Tier on what the contract permits, not what feels likely. Notes: - **Dynamic / dual-governance timelocks** (Lido, Compound escrow veto): the rubric grades on the uncontested path because that is the path most upgrades take. A dynamic extension that fires only under stake-weighted opposition is a real protection — name it in the green steel-man, but it does not lift an orange fast path into green; state the tension in the verdict. - **Immutable cores with upgradable governance** (Uniswap-style): if fund-holding contracts are immutable and have no admin-reachable function moving / freezing / re-routing user funds, the highest reachable tier on the upgrade path is T3 — green regardless of timelock. Don't grade this orange just because the Governor is a proxy — that's a C2 fact, not a downgrade. Downgrade only applies if you can cite a concrete function on the upgradable surface that reaches T1 or T2 (privileged hook, upgradable factory controlling fund-routing, fee-switch redirecting protocol revenue without bound). - **The 7-day bar** reflects the exit-window standard — users need notice after a queued upgrade to withdraw if they disagree. The ability-to-exit slice grades the exit side; this slice grades the delay side; both must hold for users to actually benefit from the delay. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "control", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.Sources claude-opus-4-7 (autorun) no url gpt-5.5 no url gemini-3-flash-preview no url View raw submissions ↗ - Fully permissionless exit with zero admin control and no pause mechanisms
Verdict
Choosing green because all exit functions (closeTrove, withdrawColl, repayLUSD, withdrawFromSP) are public, have no access restrictions, cannot be paused by any party, execute immediately on-chain, and require no frontend. The contracts are immutable (owner renounced to 0x0), have no pause guards, and the codebase explicitly documents the absence of admin control. This is a reference implementation of fully permissionless exit.
Steelman argument
Steelman argument A green grade fits when exit is fully permissionless, unpausable, and executable on-chain without intermediaries—Liquity meets all criteria: zero-address owner, no pause functions in the ABI, immediate withdrawals, and direct on-chain callability.Evidence (7)
- E1
- Exit functions enumerated: closeTrove() (full exit), withdrawColl(uint256,address,address) (partial collateral withdrawal), repayLUSD(uint256,address,address) (partial debt repayment), adjustTrove(uint256,uint256,uint256,bool,address,address) (combined adjustment), and withdrawFromSP(uint256) for Stability Pool depositors. All are user-callable functions in BorrowerOperations.sol and StabilityPool.sol.
- E2
- No access modifiers restrict exit functions to specific roles. closeTrove(), withdrawColl(), repayLUSD(), and adjustTrove() are public/external with no onlyOwner, whenNotPaused, or role-based guards. The ABI of BorrowerOperations (0x24179CD81c9e782A4096035f7eC97fB8B783e007) and StabilityPool (0x66017D22b0f8556afDd19FC67041899Eb65a21bb) contain no pause-related functions or modifiers.
- E3
- Owner addresses read on-chain: BorrowerOperations.owner() returns 0x0000000000000000000000000000000000000000, TroveManager.owner() returns 0x0000000000000000000000000000000000000000, StabilityPool.owner() returns 0x0000000000000000000000000000000000000000. Ownership was renounced at deployment. No pause role, no guardian role, no timelock exists in the system.
- E4
- No emergency vs governance pause distinction exists. The contracts have no pause functionality whatsoever. The GitHub README explicitly states: 'The system has no admin key or human governance. Once deployed, it is fully automated, decentralized and no user holds any special privileges in or control over the system.'
- E5
- No queued redemption mechanism for borrower exits. Users call closeTrove() or withdrawColl() and receive their collateral immediately (subject only to maintaining MCR if the trove remains open). Stability Pool depositors call withdrawFromSP() and receive their remaining deposit plus accumulated ETH gains immediately. No withdrawal caps, no delays.
- E6
- No forced-exit or escape-hatch mechanism is present, because none is needed: all exit functions are already permissionless and cannot be paused or blocked by any actor. The protocol is immutable and has no admin control post-deployment.
- E7
- Exit functions are directly callable on-chain. The BorrowerOperations and StabilityPool contracts are verified on Etherscan and expose public write functions. Users can call closeTrove(), withdrawColl(), repayLUSD(), or withdrawFromSP() via Etherscan's write-contract interface, a wallet like MetaMask, or any Ethereum library without requiring the Liquity frontend.
Why is this consensus tentative?- only 0/3 sources have a public chat share link
- total support weight 0.09 below confidence floor (1.5)
A fresh independent run can strengthen (or overturn) the verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: ABILITY-TO-EXIT Evaluate whether users can withdraw their funds on their own terms, even under adversarial admin conditions. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - E1. Enumerate every user-facing exit function in the main contracts: withdraw, redeem, burn, requestWithdrawal, claim, exit, etc. List them by name. Do NOT treat the contract as a monolith. - E2. For EACH exit function in E1: identify its access modifiers and any pause guards (e.g. _checkResumed, whenNotPaused, onlyRole). Functions that gate REQUEST PLACEMENT often differ from functions that CLAIM FINALIZED FUNDS — check both separately. - E3. For each pause guard: identify the role holder (which address holds PAUSE_ROLE / GUARDIAN / etc.) and the maximum pause duration. Specifically check whether PAUSE_INFINITELY (or equivalent uncapped pause) is callable, and which actor can call it (single multisig vs governance vote). For role-holder reads use https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=hasRole&args=0x...,0x... or &method=getRoleAdmin&args=0x.... For "is currently paused" checks use &method=paused or &method=isPaused&args=<resume-code>. Use the BARE method name (no parens). Cite the URL with &block=<n> in evidence[]. - E4. EMERGENCY vs GOVERNANCE pause distinction: many protocols have a fast-acting emergency pause capped at N days and a slow governance pause that can be indefinite. Record both paths separately if present, with their time caps and actor classes. - E5. Queued redemption: documented maximum queue duration, daily withdrawal caps, whether the queue itself is pausable. - E6. Forced-exit / escape-hatch / permissionless emergency-exit mechanism for adversarial-admin scenarios. - E7. Frontend dependency: confirm exit functions are directly callable on-chain (e.g. via Etherscan write tab or a generic wallet) without the project's frontend. Then write the steel-man section per Hard Rule 11. Common red-vs-orange tension on this slice: indefinite pause exists (suggests red) BUT the realistic emergency path is time-capped AND claims of already-finalized exits are not pause-gated (suggests orange). Resolve this by stating who can do what for how long, not by stopping at the worst-case sentence. Grade rules: - green = permissionless exit; pause is either absent, narrowly scoped to clearly-described emergencies with auto-expiry, or capped at ≤7 days; no frontend dependency for exit; claims of already-finalized exits are not pause-gated under any path. - orange = pausable with broad scope OR indefinite pause is reachable only through governance vote (not unilateral admin action), OR queued redemption with documented max > 7 days, OR claims-of-finalized are exempt but new-request placement can be paused indefinitely by governance. - red = exit requires admin signature, OR ANY actor (including governance) can pause CLAIMS of finalized exits indefinitely, OR there is no on-chain exit function at all (purely custodial), OR pause is held by a single EOA / 2-of-3 multisig with no time cap. - unknown = checklist incomplete after checking the sources above. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "ability-to-exit", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.Sources claude-sonnet-4-5 (autorun) no url gpt-5.5 no url gemini-3-flash-preview no url View raw submissions ↗ - Liquity V1 is fully immutable with a Chainlink-primary / Tellor-fallback PriceFeed and on-chain status machine; impacted-TVS under any single external-dependency failure is effectively 0 because the dual-oracle fallback keeps the system whole.
Verdict
Choosing green because the steel-man for green is supported by direct on-chain reads (owner=0x0 on all three core contracts, PriceFeed status=0 with non-zero priceAggregator and non-zero tellorCaller, on-chain constants TIMEOUT/MAX_PRICE_DEVIATION/MAX_PRICE_DIFFERENCE_BETWEEN_ORACLES), while the red steel-man requires a simultaneous compromise of two independent oracle providers AND a price-manipulation that lands within 5% of the malicious feed — a multi-failure correlated scenario, not a single-dependency failure. Module weighting: Liquity V1 ships a single core module (Trove + Stability Pool) holding 100% of TVS (~$53M coll / 28.6M LUSD debt at block 25052269); there are no separate sub-modules or product lines, so weighted overall = green. Impacted TVS under any single-dependency failure: <1%, bounded by the on-chain deviation/timeout caps and the lastGoodPrice fallback.
Steelman argument
Steelman argument Owners are zeroed across PriceFeed, TroveManager, and BorrowerOperations so no admin can introduce a new dependency; the only on-chain external touchpoint is a Chainlink feed protected by a documented, LIVE, on-chain dual-oracle status machine with deviation/timeout bounds, and collateral is native ETH on the base chain — every requirement of DefiScan v1 Stage-2 autonomy is met.Evidence (10)
- A1
- Sole external on-chain dependency of the core system is the PriceFeed at 0x4c517D4e..., which calls a Chainlink ETH/USD EACAggregatorProxy at 0x5f4eC3Df... (description='ETH / USD', decimals=8, latestAnswer=230845645216 / ~$2308.45, latestTimestamp=1778282375) plus a Tellor caller at 0xAd430500.... PriceFeed view methods confirm priceAggregator=0x5f4eC3Df..., tellorCaller=0xAd430500..., status=0 (chainlinkWorking), lastGoodPrice=2294670000000000000000, fetchPrice=2308456452160000000000.
- A1
- On-chain safety constants in the PriceFeed contract: TIMEOUT=14400s (4 hours), MAX_PRICE_DEVIATION_FROM_PREVIOUS_ROUND=5e17 (50%), MAX_PRICE_DIFFERENCE_BETWEEN_ORACLES=5e16 (5%). These bound how a single bad Chainlink round propagates before the contract switches state machine to a fallback path.
- A2
- No off-chain reporter committees. Liquity V1 collateral is native ETH only (no LSTs, no node operators, no oracle committees reporting into the protocol beyond Chainlink/Tellor); base-chain validators / consensus are substrate, not an A2 dependency.
- A3
- No bridge dependencies. The verified core (BorrowerOperations 0x24179CD8..., TroveManager 0xA39739EF..., StabilityPool 0x66017D22..., ActivePool 0xDf9Eb223..., PriceFeed) is Ethereum-mainnet-only; no cross-chain messaging in the core path.
- A4
- No nested collateral / restaking. Collateral is native ETH, held in ActivePool / DefaultPool. No receipt-of-receipt or wrapped yield-bearing assets at the protocol layer.
- A5
- Lineage: Liquity V1 is the upstream (no forkedFrom relevant); not assessed further.
- A6
- Fallback mechanism is LIVE and on-chain: PriceFeed implements a multi-state status enum (status()=0 chainlinkWorking observed) that transitions to Tellor or lastGoodPrice when Chainlink returns stale/zero/out-of-bounds data per the documented rules. The MAX_PRICE_DEVIATION (50%) and TIMEOUT (4h) constants are enforced in fetchPrice() at the EVM level, not advisory. tellorCaller is non-zero and wired. Activation status: (i) LIVE.
- A7
- Not applicable. Liquity V1 is not its own L2/L3 — deployed natively on Ethereum L1, so sequencer risk is substrate.
- A8
- Liquidations and redemptions are fully permissionless (TroveManager.liquidate / liquidateTroves / batchLiquidateTroves / redeemCollateral are publicly callable). Stability Pool depositors and external liquidators are economically incentivized via gas compensation (LUSD_GAS_COMPENSATION=200 LUSD + 0.5% colliquidated coll). Failure mode if no keepers run: undercollateralized troves persist longer, but the Stability Pool's LUSD self-funded backstop and trove-redistribution logic absorb losses graduately — degraded yield, not principal loss.
- A9
- Governance-mutable external dependency surface = ZERO. owner() of PriceFeed = 0x0000...0000, owner() of TroveManager = 0x0000...0000, owner() of BorrowerOperations = 0x0000...0000. The only setAddresses() write methods are gated by Ownable's onlyOwner; with owner zeroed, those calls revert. No admin can swap the oracle, the Tellor fallback, the TroveManager, or any wired contract. The Chainlink aggregator itself is owned by Chainlink (0x21f73D42...) and can be upgraded by Chainlink — that is a Chainlink-side risk handled by A6's fallback, not a Liquity governance vector.
Why is this consensus tentative?- weak consensus margin
- only 0/3 sources have a public chat share link
- total support weight 0.52 below confidence floor (1.5)
A fresh independent run can strengthen (or overturn) the verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: AUTONOMY Evaluate this protocol's autonomy: can a failure of anything outside its own contracts cause theft or loss of user principal, loss of unclaimed yield, or materially change the protocol's expected performance? "Autonomy" is not "has zero external touchpoints" — it is "external failures are either survivable or recoverable without user loss". This slice adapts DefiScan v1's Autonomy dimension; dependencies are one of several criteria, not the whole frame. GUARDRAILS (read before grading): - Category alone (Liquid Staking, Bridge, RWA Lending, Restaking, …) does NOT force a grade. A category is a hint about where to look; the grade must come from the concrete A1–A9 findings below. - Base-chain consensus (Ethereum PoS, the chain's validator set, the canonical Deposit Contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa) is the SUBSTRATE, not a dependency, for any protocol deployed on that chain. Do not list "depends on Ethereum" as a finding. - Oracles or other integrations used by DOWNSTREAM protocols that happen to read this protocol's token (e.g. Chainlink stETH/USD consumed by Aave) are NOT this protocol's dependencies. Count only what THIS protocol's contracts call or trust on-chain. If a feed or contract appears in the protocol's docs only as reference material for third-party integrators, EXCLUDE IT ENTIRELY — do not log it as a finding even with a "peripheral" or "referenced only" caveat. - "Upgradeable admin can change things" belongs to the CONTROL slice; only count it here when the upgrade surface lets governance silently swap an external dependency (see A9). - Underlying-asset risk in opt-in, isolated markets is NOT autonomy-red on its own. When a protocol wraps third-party yield-bearing assets (LSTs, LRTs, ERC-4626 vaults, lending receipts, restaked tokens) into per-market silos that users explicitly choose, a failure of one underlying does NOT propagate to other markets and is risk the user opted into per-market. Record it under A4 with depth and propagation scope, but do not let it alone drive a red verdict — red requires an external dependency that cross-cuts the protocol or that the user did not opt into at deposit time. A failure mode that is "if the LRT you deposited is hacked, your principal in that LRT-backed market is impaired" is the underlying's autonomy story, not this protocol's; grade it on whether THIS protocol introduces additional dependencies on top. - Sub-module enumeration is mandatory before grading. If the protocol ships distinct product lines or modules (e.g., a v2 core AMM plus a newer perps/funding-rate module, a lending pool plus a separate vault layer, an L1 core plus a cross-chain extension), enumerate each in findings and grade against the WORST module weighted by its share of TVS or its blast radius. A green core does not rescue an orange/red sub-module; conversely, a small red sub-module with capped TVS may bound the overall grade to orange. Name each module by its on-chain factory or router address. If you do not know whether a module exists, that is an unknowns[] entry, not silence. EXPLICIT TVS WEIGHTING: in the verdict, state each module's approximate share of total protocol TVS (use "~X%" if exact figures unavailable; check DeFiLlama or block-explorer balances on the module's main contract) and how that share informs the weighted grade. Format: "Module A holds ~X% of TVS (grade: <g>); Module B holds ~Y% (grade: <g>); weighted overall = <grade> because <reason>." If a red sub-module holds <5% of total TVS and is capped, the overall grade may be orange; if it holds >25%, the overall grade is red. Do not let qualitative reasoning substitute for the percentages — write the numbers. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. External contract calls. Enumerate every external contract the core contracts call or read from (oracles, price feeds, AMM pools, lending pools, staking/deposit contracts, yield wrappers). For each, identify the address, the provider, and what user-facing function of this protocol would break or mis-price if that external contract paused, mis-reported, or behaved adversarially. Grep for "oracle", "aggregator", "getPrice", "latestAnswer", "chainlink", "pyth", "redstone" as a starting point. To verify an oracle is live and what it currently reports, hit https://defipunkd.com/api/contract/read?chainId=<id>&address=<oracle>&method=latestAnswer (or &method=latestRoundData, &method=getPrice, &method=description; use the BARE method name without parens) and cite the URL — the response includes blockNumber/blockHash and rawReturnData, which is stronger evidence than a docs page about which feed "should" be used. - A2. Off-chain actor committees reporting INTO the protocol. Oracle committees, guardian multisigs, DAO-selected validator sets acting as protocol reporters, exit-bus signers, fraud-proof challengers. For each, record committee size, quorum, who picks the members, and what mis-reporting could do (mint, burn, finalize withdrawal, freeze). Distinguish this from governance admins (control slice). NOTE ON STAKING PROTOCOLS: validator slashing and node-operator misbehavior are properties of the base-chain substrate, NOT external dependencies, when the operator set is diversified enough that a coordinated failure caps at <5% principal loss. Count validator/operator risk under A2 ONLY if the operator set is small, non-diversified, or lacks bonding / slashing-insurance / diversification mitigations. A curated set of 30+ independent operators with documented diversification falls under the mitigated path; a 3-operator LST does not. Do not cite the protocol's own risk disclosure as evidence that operator failure = principal loss unless you also check the diversification and bond mitigations. - A3. Bridge / cross-chain messaging dependencies. Only count bridges that carry material TVL or are required for a core user flow. For each, name the bridge operator (canonical L1↔L2, LayerZero, Wormhole, Axelar, custom multisig), the trust model (canonical, optimistic, light-client, guardian set), and what fraction of TVL or users ride on it. "wstETH exists on 15 chains" is not a finding unless material TVL sits there. Before listing any non-primary chain deployment as a dependency, verify it is still operational as of analysis_date — retired or sunset deployments (e.g., Lido-on-Terra, Lido-on-Solana) belong in unknowns[] or should be omitted, never cited as a current dependency. - A4. Nested collateral / restaking chains. For restaking / LRT / receipt-of-receipt designs: record the depth of the collateral chain, every actor with slashing or freezing power at each level, and whether a failure N levels deep propagates to user principal here. - A5. Fork lineage (silent check). If DeFiLlama's forkedFrom is non-empty, record it as one finding and move on. If empty, do NOT add a placeholder finding; it adds noise. - A6. Fallback mechanisms and circuit breakers. What catches an external failure? Sanity-check contracts on oracle reports, rebase bounds, pause paths triggered by bad prices, second-opinion oracles, max-per-block throughput caps, withdrawal queues that absorb bad reports. Record which A1–A4 risks are mitigated by which fallback, and which are unmitigated. For EACH fallback you cite, state its activation status explicitly: (i) LIVE and enforcing on-chain today, (ii) DEPLOYED but not yet wired / activated (e.g., interface exists but the address is zero or the role is unassigned), or (iii) DOCUMENTED / PROPOSED only (forum post, LIP draft, audit pending). Only (i) counts as mitigation for the grade. A fallback in state (ii) or (iii) should be noted but must not reduce the risk in your steel-man or verdict. If you cannot determine activation status, add an unknowns[] entry rather than assume it is live. - A7. Sequencer / L1-liveness dependency BEYOND the base-chain substrate. SCOPE — sequencer risk only counts here when the protocol IS its own L2/L3 appchain or app-rollup, where the sequencer is part of the protocol's own stack and a freeze is a protocol-level outage. A protocol permissionlessly deployed on a third-party L2 inherits that L2's sequencer as substrate, not an A7 dependency. Record the sequencer/DA trust model when A7 applies. - A8. Keeper / relayer / off-chain bot liveness. Protocols that need permissionless-but-necessary off-chain actors (liquidation bots, auto-compounders, deposit relayers, intent solvers). Record whether the role is permissionless, what degrades if nobody runs it (yield paused, bad debt accumulates, positions go stale), and whether the failure mode is graceful or catastrophic. - A9. Governance-mutable dependency surface. Can an admin or DAO action silently INTRODUCE a NEW EXTERNAL dependency — swap the oracle address to a different provider, register a new staking module that calls an untrusted contract, add a new bridge, route SY through a new external vault — without an exit window for users? Check the upgrade / router / module-registry contracts. Answer: which EXTERNAL dependencies are governance-mutable, who holds that power, and whether there is a timelock or exit window. SCOPE LIMIT — read carefully: A9 is about the *external dependency surface*, not the upgrade surface in general. "The proxyAdmin / EOA can upgrade the router implementation to arbitrary bytecode" is a CONTROL-slice finding (admin can rug), NOT an autonomy-A9 finding. A9 fires only when the upgrade specifically swaps out or adds a contract that THIS protocol calls or trusts (e.g., changing the oracle address from Chainlink to a malicious feed, registering a new SY adapter that points to a third-party vault, redirecting a bridge endpoint). If the only finding is "admin can change implementation," do not log it under A9 and do not let it drive the autonomy grade — note it under control instead. The autonomy-relevant version of the same upgrade key is "admin can swap [specific external address X] without timelock"; that requires identifying the specific external dependency that becomes mutable. STEEL-MAN (per Hard Rule 13): write one-sentence strongest arguments for red, orange, and green using the A1–A9 findings. IMPACTED TVS ESTIMATE: the headline MUST include a rough impacted-TVS figure — the fraction of protocol TVS that could be lost or frozen if the worst-unmitigated dependency you identified failed. Use "~X%" if exact numbers are unavailable, "<1%" for de minimis, "unclear" only if A1–A9 left the question genuinely open (in which case grade=unknown is usually correct). Do NOT substitute qualitative phrases like "significant" — give a number or bracket. GRADE ANCHORS (mapped to DefiScan v1 stages): - green = Stage 2 equivalent. Failure of any external dependency cannot cause loss of user principal or unclaimed yield. Either there are no material external dependencies, or every critical one has a documented fallback (A6) that keeps users whole. Governance cannot silently introduce new dependencies without an exit window (A9). Impacted TVS under any single-dependency failure: effectively 0. - orange = Stage 1 equivalent. Failure of some external dependency can cause loss of unclaimed yield, or can materially change expected performance (pause withdrawals, freeze positions, degrade price quality), but cannot cause loss of principal. Committee-based oracles with sanity checks, canonical-only bridges, fallback paths that exist but are incomplete, or governance-mutable dependencies protected by a ≥7-day timelock. Impacted TVS is bounded and recoverable. - red = Stage 0 equivalent. Failure of an external dependency CAN cause theft or loss of principal. Examples: single-provider oracle with no sanity check or fallback, material TVL on a non-canonical bridge with a guardian multisig, governance can hot-swap oracles or add staking modules with no timelock or exit window, unmitigated keeper-liveness dependency where positions become insolvent if bots stop. Impacted TVS is material. - unknown = checklist incomplete after inspecting source + verified contracts. Prefer unknown over guessing when A1/A6 could not be reconstructed. RESERVE unknown for cases where the CORE ARCHITECTURE itself is unverifiable — not for cases where you merely cannot enumerate every per-market dependency in a multi-market protocol. If the core router/factory/oracle architecture is verifiable on-chain and you can determine whether the core requires external dependencies, grade the architecture even when an exhaustive per-market external-dependency census is infeasible. Acknowledge the per-market gap in unknowns[] but still issue a grade. Refusing to grade a multi-market protocol because you cannot list every SY/vault/market is over-use of unknown; grade the architecture and say so. PROMPT-META CHECK (per Hard Rule 17): before finalizing, verify the verdict cites concrete contract addresses, docs, or code — not the rubric itself. If your verdict says "the protocol belongs to a category the rubric marks red", rewrite it with the A1–A9 finding that actually justifies the grade, or drop to grade=unknown. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "autonomy", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.Sources claude-opus-4-7 (autorun) no url gpt-5.5 no url gemini-3-flash-preview no url View raw submissions ↗ - Permissionless CDP: contracts have renounced owner, no whitelist or operator approval on user actions, and ~9 independent frontends operate on top of the protocol.
Verdict
Choosing green because every checklist item that bears on the grade resolves cleanly toward permissionless: BorrowerOperations and TroveManager have owner()=0x0 with no whitelist modifiers (A1), all user actions are directly callable without operator approval (A2), the LUSD token has no blacklist function (A4), and the official frontend page itself enumerates ~9 legally independent third-party frontends plus a published SDK (A3b), so the orange 'operational capture' steel-man fails on its facts and the red 'contract-level censorship' steel-man has no ABI surface to support it.
Steelman argument
Steelman argument Contracts admit any user unconditionally, ownership is renounced (owner=0x0), no on-chain blocklist exists on the stablecoin, and multiple independent frontends plus an SDK provide credible non-publisher access paths.Evidence (6)
- A1
- BorrowerOperations and TroveManager expose no whitelist/KYC modifiers on user-facing entry points; both contracts report owner() = 0x0000000000000000000000000000000000000000 (ownership renounced) at block 25052268/25052269.
- A2
- Core user actions on BorrowerOperations (openTrove, closeTrove, addColl, withdrawColl, withdrawLUSD, repayLUSD, adjustTrove, claimCollateral) and TroveManager (redeemCollateral, liquidate, batchLiquidateTroves) are directly callable with no operator/relayer/keeper approval required to admit a user. Oracle dependency is a liveness concern, deferred to dependencies slice.
- A3
- Liquity AG explicitly states it does not run its own frontend; the official site only lists third-party frontend operators. No A3-active enforcement (geo-blocking, sanctions oracle, KYC) is applied by Liquity AG since it operates no UI.
- A3b
- Multiple legally distinct independent frontends are documented on liquity.org/frontend (freely.finance, Instadapp, DeFi Saver, B.Protocol, ChickenBonds.net, cp0x, BorrowCrypto, LQTY.IO, Liquity.App). The Liquity v1 SDK and GitHub source are publicly available, providing direct contract-interaction paths.
- A4
- The LUSD token ABI exposes only standard ERC-20 + permit + protocol-restricted mint/burn/sendToPool/returnFromPool methods — no blacklist/freeze/pause function, so there is no on-chain sanctions blocklist on LUSD transfers.
- A5
- Both read and write surfaces are fully permissionless on the deployed contracts; all view methods are public and write methods accept any caller subject only to economic/state preconditions (e.g., MCR for borrowing).
Why is this consensus tentative?- only 0/3 sources have a public chat share link
- total support weight 0.52 below confidence floor (1.5)
A fresh independent run can strengthen (or overturn) the verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v1 - protocol.name: Liquity V1 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf, https://www.coinspect.com/liquity-audit/ - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x24179CD81c9e782A4096035f7eC97fB8B783e007", "role": "BorrowerOperations (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2", "role": "TroveManager (owner = 0x0, renounced)" }, { "chain": "Ethereum", "address": "0x66017D22b0f8556afDd19FC67041899Eb65a21bb", "role": "stability_pool" }, { "chain": "Ethereum", "address": "0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F", "role": "active_pool" }, { "chain": "Ethereum", "address": "0x4c517d4e2c851ca76d7ec94b805269df0f2201de", "role": "oracle" }, { "chain": "Ethereum", "address": "0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0", "role": "hint_helpers" }, { "chain": "Ethereum", "address": "0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6", "role": "sorted_troves" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "token" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "token" }, { "chain": "Ethereum", "address": "0x6DEA81C81869EaC6509739E988084445C9D35951", "role": "LQTY governance token" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x24179CD81c9e782A4096035f7eC97fB8B783e007 (BorrowerOperations (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0xa39739ef8b0231dbfa0dcda07d7e29faabcf4bb2 (TroveManager (owner = 0x0, renounced)) - https://defipunkd.com/address/1/0x66017D22b0f8556afDd19FC67041899Eb65a21bb (stability_pool) - https://defipunkd.com/address/1/0xDf9Eb223bAFBE5c5271415C75aeCD68C21fE3D7F (active_pool) - https://defipunkd.com/address/1/0x4c517d4e2c851ca76d7ec94b805269df0f2201de (oracle) - https://defipunkd.com/address/1/0xE84251b93D9524E0d2e621Ba7dc7cb3579F997C0 (hint_helpers) - https://defipunkd.com/address/1/0x8fdd3fbfeb32b28fb73555518f8b361bcea741a6 (sorted_troves) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (token) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (token) - https://defipunkd.com/address/1/0x6DEA81C81869EaC6509739E988084445C9D35951 (LQTY governance token) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: OPEN-ACCESS Evaluate who is allowed to use the protocol and whether any of that permission is granted off-chain. Scope: this slice is about ADMISSION — who can enter, exit, or transact. Operator LIVENESS (what breaks if keepers/oracles go offline) is assessed in the dependencies slice and is out of scope for the grade here. You may note operator dependencies as context, but do not let "the protocol halts if operator X disappears" drive the access grade on its own; that belongs in dependencies. Source verification / contract verification on block explorers is assessed in the verifiability slice and is out of scope here — do NOT let "contract is unverified" drive the access grade. Framing: the smart contracts are the access layer; frontends are UX. A permissionless contract is reachable by any client (SDK, third-party UI, aggregator, wallet integration). Frontend ToS, IP geo-blocking, and wallet screening are publisher policies on one specific client — they are reported as context but do NOT determine the grade. The grade hinges on (1) what the contract itself permits, and (2) whether the protocol is practically reachable without the official publisher's cooperation. Meta-check before finalizing: if your verdict cites phrases from this prompt as evidence ("the protocol meets the 'credible alternatives' condition", "this fits the 'documented fallback' rule"), redo the verdict. The prompt describes the rubric; evidence must come from the protocol. A verdict should cite what the protocol does, not what the rubric says. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. Whitelist / allowlist modifiers in user-facing entry points. Grep for "onlyWhitelisted", "onlyRole", "allowlist", "isAccredited", "isKYCed". Note which functions are gated and who can add/remove from the list. - A2. Off-chain operators in the admission path: keepers, sequencers, privileged relayers, oracle posters whose approval is required to admit a user action (not just to keep the protocol live). For each, identify whether the role is held by a single operator, a permissioned committee, or is permissionless. Enumerate per user-facing function class (deposit vs withdraw-request vs claim-finalized vs transfer) which ones require operator approval to be admitted, and which ones admit users unconditionally. A function whose placement is unconditional but whose downstream settlement depends on an operator is an admission-permissionless function — flag the liveness dependency as context and defer its grading weight to the dependencies slice. - A3. Frontend restrictions on the official interface — record as context, not as a grade lever. Distinguish: - A3-passive: boilerplate ToS clauses (sanctions attestation, restricted-territory self-certification, VPN-circumvention prohibition, "comply with applicable law" eligibility, age of majority). - A3-active: runtime enforcement — IP-based geo-blocking, wallet-address screening against a sanctions oracle (Chainalysis, TRM, Elliptic), KYC wall, rendering-blocking jurisdiction banner. Record findings under the correct tier. Quote ToS text or banner text in evidence[].shows. These findings populate the headline and rationale but do NOT move the grade by themselves; the grade is set by A1, A2, and the A3b path check below. - A3b. Independent access paths (the operative grade input). Enumerate paths that do not require the official publisher's cooperation: - Published SDK / library / CLI for direct contract interaction. - Third-party frontends operated by separate legal entities. - Wallet-integrated access (MetaMask Swaps, Safe apps, etc.). - DEX / lending / yield aggregators that route through the contracts. Record at least one concrete link per path that exists. The protocol does NOT have to self-document these — the test is existence, not UX cost. An A3b-i redistribution of the official UI bound by the same ToS does NOT count as an independent path. - A4. Sanctions / compliance tooling at the contract level: does the protocol check addresses against OFAC lists or similar on-chain blocklists in the contract itself? (Frontend-only screening belongs in A3.) - A5. Differentiate read access vs write access: many protocols are read-permissionless (anyone can view state) but write-gated (only certain addresses can deposit/borrow). Record both. - A6. ToS / Legal links: locate them on the website and produce a VERBATIM quote of any jurisdictional, sanctions, or eligibility clause in evidence[].shows. If you cannot extract the clause text verbatim (SPA render failure, paywall, dead link, etc.), do NOT paraphrase or infer from general knowledge — record the ToS URL in unknowns[] with the reason extraction failed. Assertions about ToS content without a verbatim quote will be downweighted by reviewers. Then write the steel-man section per Hard Rule 11. Grade rules (admission-focused; liveness concerns belong in dependencies; source verification belongs in verifiability): - green = no contract-level whitelist/KYC on user entry/exit; no operator approval required to admit a user action; AND at least one independent A3b path exists (published SDK, third-party frontend, wallet integration, or aggregator routing). Frontend ToS posture and A3-active enforcement on the official UI do NOT block green when contracts are permissionless and an independent path exists — they are reported as context. - orange = contracts admit users unconditionally, BUT the protocol is operationally captured by the official publisher: no published SDK, no third-party frontend, no wallet integration, no aggregator routing. The contract is theoretically open but practically reachable only through the official UI. Also applies when admission requires approval from a permissioned committee that is governance-managed with a documented replacement procedure. - red = contract-level whitelist / KYC on user entry/exit, OR admission of a core user action requires approval from a single privileged operator or a small committee with no documented replacement procedure, OR enforces an on-chain blocklist updatable by a single party. - unknown = checklist incomplete after checking the sources above. Default-grade guidance: when contracts are fully permissionless AND any A3b independent path exists, the default grade is green regardless of frontend ToS or A3-active enforcement on the official UI. Frontend geo-blocking, sanctions-oracle wallet screening, and ToS sanctions clauses are publisher policies on one client and are reported in findings/headline as context, not as grade levers. To grade orange on operational-capture grounds, the auditor must affirmatively show that ALL independent paths are absent or also gated. Guideline on committees: where admission depends on a multi-operator committee, the relevant axes are (a) set size, (b) whether replacement/rotation is governed on-chain, (c) whether the replacement procedure is publicly documented. A large set with on-chain governance replacement should not be graded as a single-party operator even if rotation is not instantaneous. A small set with informal replacement should be treated as a single-party operator. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "open-access", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.Sources claude-opus-4-7 (autorun) no url gpt-5.5 no url gemini-3-flash-preview no url View raw submissions ↗
Stage
Preview of the Phase-3 maturity framework. DeFiPunk'd will adopt DeFiScan v2's stages verbatim; the section is rendered below in its intended shape so the structure is visible today.
Scope of assessment
Stage 0 requirements pending
Stage 1 requirements pending
Stage 2 requirements pending
Contract surface
Every contract in scope for this protocol — pooled from DeFiLlama's TVL adapter (mechanical) and DEFI@home discovery submissions (LLM-curated). Verified-source flags come from Etherscan + Sourcify; owner / multisig metadata is read on-chain when available. Reviewer audit context, not a slice score. A lending protocol's adapter set will list third-party collateral tokens alongside its own contracts; attribution is the grader's job.
- 10addresses
- 3verified source
- 0proxies
| ethereum | LQTYToken | 0x6dea…c54d | TVL + disc | ✓ | — | — | governance |
| ethereum | LQTYStaking | 0x4f9f…605d | TVL | ✓ | — | — | — |
| ethereum | TroveManager | 0xa397…4bb2 | TVL + disc | ✓ | — | — | — |
| Ethereum | active_pool | 0xdf9e…3d7f | discovery | — | — | — | — |
| Ethereum | borrower_operations | 0x2417…e007 | discovery | — | — | — | — |
| Ethereum | hint_helpers | 0xe842…97c0 | discovery | — | — | — | — |
| Ethereum | oracle | 0x4c51…01de | discovery | — | — | — | oracle |
| Ethereum | sorted_troves | 0x8fdd…41a6 | discovery | — | — | — | — |
| Ethereum | stability_pool | 0x6601…21bb | discovery | — | — | — | — |
| Ethereum | token | 0x5f98…8ba0 | discovery | — | — | — | token |
- Tier wood At least one model submission, no quorum yet
- Verifiability tentative Open source + 22 audits
- Control green · 1/3 Immutable cores, ownership renounced
- Ability to exit green · 1/3 Permissionless exits, no pause
- Autonomy orange · 1/3 Chainlink-only feeds, immutable, shutdown fallback
- Open Access green · 1/3 Permissionless contracts, 5+ independent frontends
Liquity V2 is an immutable CDP-based stablecoin protocol on Ethereum where users lock ETH, wstETH, or rETH as collateral in isolated per-collateral branches and mint BOLD, a USD-pegged stablecoin, at user-chosen interest rates. Each branch has its own Stability Pool that absorbs liquidations and pays yield in BOLD to depositors. The core contracts have no admin key, no pause, and no upgrade path; only an LQTY-staker-directed minimal-governance module allocates 25% of revenue to liquidity incentives. Branches auto-shut on TCR-below-SCR or oracle failure, after which urgent redemptions let BOLD holders permissionlessly drain remaining collateral.
Risk analysis
One card per dimension, sorted by severity. Only Verifiability and Autonomy carry automated signals in Phase 0. See methodology for scope.
Audit a dimension yourself · DEFI@home Contribute an LLM-run assessment — any model, any dimension. Three agreeing runs merge automatically into the public record.
DEFI@home is a distributed audit network modeled on SETI@home: instead of CPU cycles, it crowdsources LLM reasoning. Paste a slice prompt into Claude, ChatGPT, Gemini, or any browsing-capable model, and submit the JSON output as a pull request. The quorum bot merges it once ≥3 independent runs (from different models) reach the same grade — no single model, and no single contributor, can move the needle alone. How it works →
- Address discovery 58 addresses on file
· 1 run Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: DISCOVERY You are a cataloguer, not a judge. Your job is to surface every contract address that could plausibly belong to this protocol's control or fund-holding surface, each backed by a citation. `grade` is ALWAYS `"unknown"` for discovery submissions — there is no green/orange/red rubric here. The five evaluation slices that run after you (control, ability-to-exit, autonomy, open-access, verifiability) consume your output via the addressBook ratchet — every address you record becomes a pre-built surfacer URL on the next run; every address you miss costs them a tool call. Width beats depth. A `role: "other"` entry with one cited URL beats omitting it. Downstream slices will discard out-of-scope entries; they cannot rediscover what you fail to enumerate without paying the same cost again. (Step 0 capability probe lives in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every D-code below must appear in evidence[] OR unknowns[]) - **D1. Block-explorer name-tag search per chain.** For each chain in `protocol.chains`, search the canonical block explorer for the protocol's name tag — `https://etherscan.io/searchHandler?term=<query>` and the per-chain explorers (basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network). When direct fetch is blocked, use `site:<explorer> <protocol_name>` via search grounding. Record every address that surfaces with the protocol's tag, plus neighbouring "Token Contract" / "Multisig" / "Timelock" labels. - **D2. Official deployments doc.** From `protocol.website` and the docs site, locate the canonical "Deployed contracts" / "Addresses" / "Contracts" / "Deployments" page (often at `/docs/deployments`, `/docs/addresses`, `/dashboard/contracts`). Cite the URL, record every address listed with its named role, and set `protocol_metadata.deployed_contracts_doc` to this URL. - **D3. Audit PDFs.** From `protocol.audit_links` (and any audits surfaced by D2), open each. Most reports include a "Scope" / "Contracts in scope" address table in the first 5 pages. Extract every in-scope address with its labelled role. If the audit predates the current deployment, record the addresses anyway with role suffixed `(audit-era)` so downstream slices know to re-verify. - **D4. GitHub deployment artifacts.** From `protocol.github`, walk the repo at a pinned commit SHA looking for: Foundry `broadcast/<script>/<chainId>/run-latest.json` (`transactions[].contractAddress` per chainId); hardhat-deploy `deployments/<network>/<Contract>.json` (`address` field); manual indexes (`deployments.json`, `addresses.json`, `contracts.json`, `networks.json`); markdown indexes (`docs/deployments.md`, `README.md` tables). Cite the file URL with the commit SHA; pin SHAs (`?ref=<sha>`) so the citation is content-addressed. - **D5. Multi-chain enumeration.** If `protocol.chains.length > 1`, repeat D1–D4 per chain. Cross-chain deployments of the same logical contract get SEPARATE `admin_addresses[]` entries — one per chain. The chain field is part of the identity; do not collapse. If a chain has zero results, record `"D5: chain <name>: zero addresses surfaced from <sources tried>"` in unknowns[]. - **D6. Factory-discovered children.** For factory addresses surfaced in D1–D4, fetch the enumeration view via the read API (`/api/contract/read?...&method=allPools` / `getPool` / `getMarket` / `getVault`) and record each child with role like `"pool (from factory <0xFactory>)"`. **Cap at 50 children per factory.** Protocols with thousands of pools (Uniswap, Sushi) need dedicated ingestion — record the factory + the cap notice in unknowns[]. - **D7. Role taxonomy.** Every `admin_addresses[]` entry's `role` uses this controlled vocabulary (free-text suffixes OK for disambiguation, e.g. `"multisig (treasury)"`, but the leading token must match): `owner | admin | proxy_admin | governor | timelock | guardian | multisig | treasury | oracle | factory | router | token | pool | vault | other` Tentative classifications are encouraged. `actor_class` ∈ `eoa | multisig | timelock | governance | unknown` — use `unknown` when you found the address but didn't read its bytecode. - **D8. Ratchet output integrity.** Every address in `admin_addresses[]` must trace to ≥1 fetched URL in evidence[]. Snippet-only sightings go in unknowns[] with a `D8` code, NOT in admin_addresses[]. ### Discovery rationale framing - `rationale.findings`: one entry per D-code, terse, factual. Per-address detail belongs in evidence[] and admin_addresses[], not here. Example: `"D1: 8 addresses surfaced from etherscan.io name-tag search for 'Aave V3'"`. - `rationale.steelman`: ALWAYS null. - `rationale.verdict`: one short line summarizing what corpora were walked and how many addresses were catalogued. - `headline`: factual and quantitative — `"24 contracts catalogued across Ethereum, Arbitrum, and Base; 6 governance/admin and 18 protocol contracts."`. - `short_headline`: under 60 chars — `"24 contracts across 3 chains"`. ### What discovery is NOT - Not a verdict slice. `grade` must be `"unknown"`. - Not exhaustive enumeration of leaf assets — record the factory + cap and move on (see D6). - Not classification of trust assumptions — whether a multisig threshold is safe / timelock delay is sufficient / proxy admin is an EOA is the control slice's job. - Not address-book reconciliation: when addressBook is non-empty, EXTEND it (find addresses prior runs missed) rather than re-cite the same addresses; re-cite only when you have new evidence for a refined role. ### protocol_metadata side-effects While walking the corpora, populate every `protocol_metadata` field you can support with citations: `github`, `docs_url`, `audits` (one per D3 audit walked), `governance_forum`, `bug_bounty_url`, `security_contact`, `deployed_contracts_doc` (URL from D2), `upgradeability` (best-effort), and `about` (2–4 sentences sourced from docs/website, not memory). Discovery is the natural home for these — evaluation slices should not have to rediscover them. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "discovery", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Verifiability
Unverified
Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: VERIFIABILITY Evaluate whether an outsider can independently confirm what the deployed code does. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - V1. For each address you assess: is the bytecode verified on the chain's block explorer? Record the "Contract Source Code Verified" indicator. https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... returns this as a top-level "verified" boolean plus "abiSource" ("etherscan" / "sourcify") and an inline ABI — useful when the explorer page is rate-limited. If the contract is a proxy, verify BOTH the proxy contract AND the current implementation contract. The same /api/contract/abi response auto-resolves proxies and includes a "proxy.implementation" address when present, so one call covers V1 + V6 in one shot. An explorer "Similar Match" on a well-known proxy pattern (Aragon AppProxyUpgradeable, ERC1967Proxy, OssifiableProxy, OZ TransparentUpgradeableProxy) is expected for that pattern and does NOT count as a verification gap on its own — what matters is that the implementation is independently verified. - V2. Source-to-repo correspondence: for each verified contract, attempt to find a matching commit in the linked GitHub repos. Record evidence[].commit on a match. Independent compile/bytecode-match is NOT required for green — a recognized public repo whose structure and file contents correspond to the explorer-visible source is sufficient. If you did not pin a commit SHA or run a bytecode diff, record that plainly in unknowns[] and proceed; it is a scope limit, not a downgrade signal. - V3. Audit coverage: for each URL in protocol.audit_links, open it and record: auditor name, audit date, the specific contracts / commit in scope. Flag audits that predate the current deployment by >6 months without a follow-up review. - V4. Auditor recognition: the following firms are broadly recognized in Solidity: Trail of Bits, Zellic, Spearbit, OpenZeppelin, ConsenSys Diligence, Certora (formal verification), Quantstamp, Halborn, Peckshield, Sigma Prime, ChainSecurity, Ackee Blockchain, MixBytes, Statemind. Unknown firms are orange-at-best for any green-grade claim. Name the firm explicitly in evidence[]. - V5. Post-audit drift: compare the most recent in-scope audit(s) against the currently-deployed source, weighted by what each contract does and by what the changes actually contain. SCOPE — drift only downgrades the grade when ALL of the following hold: (i) the drifting contract is fund-custody / settlement / accounting-critical (NOT a peripheral router, lens, quoter, or pure-view contract that holds no balances); (ii) the changes are material — new functions, modified access control, modified accounting, modified fund flow — and not refactors / struct relocations / import reorgs / build or CI fixes / formatting; (iii) no later audit, fix-audit, or differential audit from a recognized firm covers the changed files (audits often pin a pre-fix commit while a follow-up reviews the delta — match by file scope, not by commit-hash equality). When you cite drift as a downgrade reason, name the specific behavior change (function added, role granted, accounting formula altered) — "N commits ahead" or "+X/-Y LOC" alone is not evidence of material drift. If you have not sampled the diff content (e.g. via the GitHub compare view or the top commits in the window), record drift as an unknowns[] entry rather than auto-downgrading; commit-count and LOC are starting signals, not findings. - V6. Implementation vs proxy: a verified proxy with an unverified implementation is effectively unverified. State whether the implementation is verified separately. EVIDENCE DISCIPLINE (read before writing findings[]): - Do not assert a specific deploy-commit SHA, bytecode equivalence, or "identical to audited commit" unless you actually fetched the artifact that shows it (e.g., a deployed-addresses JSON you opened, an explorer page you read). Inferred or plausible matches belong in unknowns[], never in findings[] or evidence[]. - Evidence[] entries must correspond to pages/files you actually retrieved this run. A URL you did not open is not evidence. Then write the steel-man section per Hard Rule 11. Grade rules: - green = deployed bytecode verified on the explorer (proxy AND implementation if proxied; "Similar Match" on a standard proxy pattern is fine per V1), a public source repo exists whose contents correspond to the explorer-visible source, AND ≥1 audit from a recognized firm covering the currently-deployed contracts (≤6 months of drift OR drift was re-audited). A missing local compile-match is not a downgrade — record it in unknowns[] and still grade green if the other conditions hold. - orange = verified but with visible drift from the public repo, OR audit scope is stale relative to deployment, OR only minor / unknown-firm audits exist, OR only some of the main contracts are verified, OR proxy verified but implementation only partially verified. - red = unverified bytecode (or verified proxy with unverified implementation), OR no audit in protocol.audit_links, OR no public repo. - unknown = reserved for when the protocol's verifiability posture genuinely cannot be assessed (e.g., explorer and repo both inaccessible for this protocol). Do NOT use unknown merely because you, the analyst, could not run a particular check such as a bytecode diff — that goes in unknowns[] while the grade is still assigned from the evidence you do have. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "verifiability", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Control 1/3 submitted
Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: CONTROL Evaluate who can change the protocol's rules, how fast, and how broadly. (Step 0 capability probe and the off-chain-only fallback live in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]) - **C1.** For each address you assess: who is the contract owner / admin / pendingAdmin / governor — read these via the block explorer's "Read Contract" tab OR `https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=owner` (BARE method names: `&method=owner`, `&method=admin`, `&method=pendingOwner`, `&method=governor`). For Safes use `/api/safe/owners?chainId=<id>&address=0x...`. When a protocol has multiple major versions deployed (v2/v3/v4), perform C1 reads on the NEWEST deployment separately — newer deployments often have weaker control surfaces than the legacy core. - **C2.** Upgrade mechanism: transparent proxy / UUPS / Beacon / Diamond / immutable. Identify the proxy admin address. Check upgradeability of GOVERNANCE contracts too — a Governor / Aragon Voting / OZ Governor is often itself a proxy whose admin is the Timelock. Asymmetry: when fund-holding cores are immutable AND governance has no admin path that reaches them, an upgradable Governor/Timelock is T3-only and must NOT drag the verdict below green on that basis alone (see grade rules and the "immutable cores" caveat). Only call upgradability "mixed" if you can name a concrete function on the upgradable surface that reaches T1 or T2 on user funds. - **C3.** EXECUTION PATH (enumerate every stage, in order, with delays in seconds). The operative path is usually a chain (voting → scheduler → timelock → executor; or governor → queue → execute; or Aragon Voting → DualGovernance → EmergencyProtectedTimelock → AdminExecutor). For each stage, record (a) the contract address, (b) the delay constant name + value in seconds, (c) the URL you read it from (block-explorer Read Contract OR `/api/contract/read?...&method=MIN_DELAY&block=<n>`). Do NOT stop at the first timelock-shaped contract — if its admin is itself called by another contract, keep walking. The grading delay is the SUM OF DELAYS ON THE UNCONTESTED FAST PATH (shortest time a proposal with no opposition can go from submission to executable). Dynamic / contested extensions (veto signaling, rage quit, escrow delay) are modifiers, not the basis — note them separately. - **C4.** Enumerate EVERY multisig with reachable control — main proxy admin, emergency activation, emergency execution, reseal / pause, gate-seal committees, tiebreaker, per-module admins. For each Safe, fetch threshold + owners + version via `/api/safe/owners?chainId=<id>&address=0x...` (response includes raw eth_call data, so the URL is citable evidence). Enumerate ops/council/incentives multisigs even when off the upgrade path — record their scope so a reader can see they are NOT on the upgrade path. For each: (a) address, (b) threshold / total signers, (c) signer identities classified as insider (team, paid auditors under ongoing engagement, mandated service providers) vs non-insider (independent community members, unaffiliated researchers), (d) the specific power held (upgrade, pause, parameter, etc.). - **C5.** On-chain governance: Governor / GovernorBravo / OZ Governor / Aragon Voting with token-weighted voting? Record proposal threshold, voting period, quorum, and the timelock delay between queue and execute. Every numeric constant must come from a Read Contract call you can link to, or be in unknowns[] with the C-code. If votingDelay / votingPeriod are denominated in BLOCKS, convert to seconds at the chain's CURRENT block time (Ethereum mainnet ≈ 12s post-Merge, not the 15s in older Compound/Bravo deployments) — cite both block count and converted seconds. - **C6.** EMERGENCY POWERS: separate emergency-pause / guardian role with a different time cap or different actor than the main upgrade authority? Record it explicitly. - **C7.** POWER TIER (blast radius). For each privileged path in C3–C6, classify the WORST thing that path can do, choosing the highest applicable tier. Cite the specific function name and any on-chain bound — tier claims without a named function are unsupported. - **T1 — FUND-CRITICAL**: replace implementation of contracts holding user funds; change AMM math / accounting / collateral logic; mint unbacked debt or shares; pause withdrawals; drain user-fund treasury; change oracle to attacker-controlled source; replace upgrade admin with EOA. - **T2 — ECONOMICALLY MATERIAL**: change fee parameters within bounded ranges; redirect protocol fees; add/remove markets / collateral types; bounded inflation or token mint within hard-capped schedule; spend protocol-owned (non-user) treasury. - **T3 — GOVERNANCE-INTERNAL**: change voting rules, quorum, voting period, proposal threshold; upgrade the Governor itself; rotate Timelock admin; mint governance tokens within a capped annual schedule. - **T4 — OPERATIONAL**: incentives distribution, grants, ENS / frontend canonicalization, deployment coordination, periphery router deprecation. The grade is set by the HIGHEST tier reachable on the uncontested fast path, not the median. State the tier and the binding function in the verdict. ### Read Contract discipline (applies to C3, C4, C5) Every numeric constant cited (timelock delays, voting periods, multisig thresholds, quorum percentages) must come from EITHER (a) a block-explorer Read Contract URL, OR (b) a DeFiPunkd `/api/contract/read` or `/api/safe/owners` URL (preferred with `&block=<n>` for content-addressed evidence), OR (c) an unknowns[] entry with the C-code. Docs / blog posts are corroboration only — they cannot be the sole citation for a value that is also readable on-chain. ### Off-chain-only substitute hierarchy (when grading_basis="off-chain-only" — see preamble Rule 16) When on-chain reads were genuinely unreachable this run, eligible off-chain substitutes in priority order: 1. Linked audit PDFs (admin roles, multisig members, timelock delays usually enumerated). 2. Governance forum posts that quote constants from a successful on-chain proposal (cite post URL + linked execution-tx URL). 3. Official protocol docs pages with named addresses and roles (must be on a domain owned by the protocol). 4. GitHub README / SECURITY.md / governance/*.md at a pinned commit SHA. Forbidden substitutes: third-party blog posts, X / Twitter threads, search-result snippets, model memory. Required degradation: any C-code citing a numeric constant from docs/forum/audit prose ONLY must also carry an `unknowns[]` entry with `-offchain` suffix noting "value not re-read on-chain in this run; corroboration only". ### Grade rules (apply the timelock bar conditional on the highest C7 tier reachable on the fast path) Security Council standard (used below): a multisig qualifies as "Security Council" only if ALL of: ≥7 signers, ≥51% threshold, ≥50% non-insider signers, every signer publicly announced. Failing any criterion = NOT a Security Council, regardless of signer reputation. - **green**: highest reachable tier is T3 or T4 regardless of timelock; OR T2 reachable with uncontested-fast-path delay ≥7 days; OR T1 reachable only via immutable contracts (T1 is unreachable); OR T1 reachable with uncontested-fast-path delay ≥7 days combined with a Security Council multisig; OR T1 reachable with uncontested-fast-path delay ≥7 days through active on-chain governance with broad token distribution. - **orange**: T2 reachable with uncontested-fast-path delay >0 but <7 days; OR T1 reachable with uncontested-fast-path delay >0 but <7 days; OR a multisig failing one or more Security Council criteria sits on a T1/T2 path; OR unclear upgrade authority on a T1/T2 path; OR governance with very short timelock or low quorum on a T1/T2 path. - **red**: T1 reachable with no timelock by a single EOA or 2-of-3 multisig; OR a T1 upgrade admin that is not a smart contract you can audit. - **unknown**: completed the checklist but still cannot determine the upgrade authority OR cannot classify the highest tier reachable on the main contracts. Tiering caveats: - "Bounded" must be enforced ON-CHAIN to count as T2. A function that sets fees with no upper-bound check is T1 — cite the bound check. - Recurring T2 economic extraction (e.g. fee redirect with no rate limit) approaches T1 over time. A single proposal that can permanently redirect all future revenue is T1. - T3 assumes the governance contract cannot itself authorize a T1/T2 action without going through the same timelock. If governance can self-upgrade to bypass the timelock, T3 collapses into T1. - Do not downgrade tier by hand-waving ("realistically governance would never…"). Tier on what the contract permits, not what feels likely. Notes: - **Dynamic / dual-governance timelocks** (Lido, Compound escrow veto): the rubric grades on the uncontested path because that is the path most upgrades take. A dynamic extension that fires only under stake-weighted opposition is a real protection — name it in the green steel-man, but it does not lift an orange fast path into green; state the tension in the verdict. - **Immutable cores with upgradable governance** (Uniswap-style): if fund-holding contracts are immutable and have no admin-reachable function moving / freezing / re-routing user funds, the highest reachable tier on the upgrade path is T3 — green regardless of timelock. Don't grade this orange just because the Governor is a proxy — that's a C2 fact, not a downgrade. Downgrade only applies if you can cite a concrete function on the upgradable surface that reaches T1 or T2 (privileged hook, upgradable factory controlling fund-routing, fee-switch redirecting protocol revenue without bound). - **The 7-day bar** reflects the exit-window standard — users need notice after a queued upgrade to withdraw if they disagree. The ability-to-exit slice grades the exit side; this slice grades the delay side; both must hold for users to actually benefit from the delay. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "control", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Ability to exit 1/3 submitted
Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: ABILITY-TO-EXIT Evaluate whether users can withdraw their funds on their own terms, even under adversarial admin conditions. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - E1. Enumerate every user-facing exit function in the main contracts: withdraw, redeem, burn, requestWithdrawal, claim, exit, etc. List them by name. Do NOT treat the contract as a monolith. - E2. For EACH exit function in E1: identify its access modifiers and any pause guards (e.g. _checkResumed, whenNotPaused, onlyRole). Functions that gate REQUEST PLACEMENT often differ from functions that CLAIM FINALIZED FUNDS — check both separately. - E3. For each pause guard: identify the role holder (which address holds PAUSE_ROLE / GUARDIAN / etc.) and the maximum pause duration. Specifically check whether PAUSE_INFINITELY (or equivalent uncapped pause) is callable, and which actor can call it (single multisig vs governance vote). For role-holder reads use https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=hasRole&args=0x...,0x... or &method=getRoleAdmin&args=0x.... For "is currently paused" checks use &method=paused or &method=isPaused&args=<resume-code>. Use the BARE method name (no parens). Cite the URL with &block=<n> in evidence[]. - E4. EMERGENCY vs GOVERNANCE pause distinction: many protocols have a fast-acting emergency pause capped at N days and a slow governance pause that can be indefinite. Record both paths separately if present, with their time caps and actor classes. - E5. Queued redemption: documented maximum queue duration, daily withdrawal caps, whether the queue itself is pausable. - E6. Forced-exit / escape-hatch / permissionless emergency-exit mechanism for adversarial-admin scenarios. - E7. Frontend dependency: confirm exit functions are directly callable on-chain (e.g. via Etherscan write tab or a generic wallet) without the project's frontend. Then write the steel-man section per Hard Rule 11. Common red-vs-orange tension on this slice: indefinite pause exists (suggests red) BUT the realistic emergency path is time-capped AND claims of already-finalized exits are not pause-gated (suggests orange). Resolve this by stating who can do what for how long, not by stopping at the worst-case sentence. Grade rules: - green = permissionless exit; pause is either absent, narrowly scoped to clearly-described emergencies with auto-expiry, or capped at ≤7 days; no frontend dependency for exit; claims of already-finalized exits are not pause-gated under any path. - orange = pausable with broad scope OR indefinite pause is reachable only through governance vote (not unilateral admin action), OR queued redemption with documented max > 7 days, OR claims-of-finalized are exempt but new-request placement can be paused indefinitely by governance. - red = exit requires admin signature, OR ANY actor (including governance) can pause CLAIMS of finalized exits indefinitely, OR there is no on-chain exit function at all (purely custodial), OR pause is held by a single EOA / 2-of-3 multisig with no time cap. - unknown = checklist incomplete after checking the sources above. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "ability-to-exit", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Autonomy 1/3 submitted
Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: AUTONOMY Evaluate this protocol's autonomy: can a failure of anything outside its own contracts cause theft or loss of user principal, loss of unclaimed yield, or materially change the protocol's expected performance? "Autonomy" is not "has zero external touchpoints" — it is "external failures are either survivable or recoverable without user loss". This slice adapts DefiScan v1's Autonomy dimension; dependencies are one of several criteria, not the whole frame. GUARDRAILS (read before grading): - Category alone (Liquid Staking, Bridge, RWA Lending, Restaking, …) does NOT force a grade. A category is a hint about where to look; the grade must come from the concrete A1–A9 findings below. - Base-chain consensus (Ethereum PoS, the chain's validator set, the canonical Deposit Contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa) is the SUBSTRATE, not a dependency, for any protocol deployed on that chain. Do not list "depends on Ethereum" as a finding. - Oracles or other integrations used by DOWNSTREAM protocols that happen to read this protocol's token (e.g. Chainlink stETH/USD consumed by Aave) are NOT this protocol's dependencies. Count only what THIS protocol's contracts call or trust on-chain. If a feed or contract appears in the protocol's docs only as reference material for third-party integrators, EXCLUDE IT ENTIRELY — do not log it as a finding even with a "peripheral" or "referenced only" caveat. - "Upgradeable admin can change things" belongs to the CONTROL slice; only count it here when the upgrade surface lets governance silently swap an external dependency (see A9). - Underlying-asset risk in opt-in, isolated markets is NOT autonomy-red on its own. When a protocol wraps third-party yield-bearing assets (LSTs, LRTs, ERC-4626 vaults, lending receipts, restaked tokens) into per-market silos that users explicitly choose, a failure of one underlying does NOT propagate to other markets and is risk the user opted into per-market. Record it under A4 with depth and propagation scope, but do not let it alone drive a red verdict — red requires an external dependency that cross-cuts the protocol or that the user did not opt into at deposit time. A failure mode that is "if the LRT you deposited is hacked, your principal in that LRT-backed market is impaired" is the underlying's autonomy story, not this protocol's; grade it on whether THIS protocol introduces additional dependencies on top. - Sub-module enumeration is mandatory before grading. If the protocol ships distinct product lines or modules (e.g., a v2 core AMM plus a newer perps/funding-rate module, a lending pool plus a separate vault layer, an L1 core plus a cross-chain extension), enumerate each in findings and grade against the WORST module weighted by its share of TVS or its blast radius. A green core does not rescue an orange/red sub-module; conversely, a small red sub-module with capped TVS may bound the overall grade to orange. Name each module by its on-chain factory or router address. If you do not know whether a module exists, that is an unknowns[] entry, not silence. EXPLICIT TVS WEIGHTING: in the verdict, state each module's approximate share of total protocol TVS (use "~X%" if exact figures unavailable; check DeFiLlama or block-explorer balances on the module's main contract) and how that share informs the weighted grade. Format: "Module A holds ~X% of TVS (grade: <g>); Module B holds ~Y% (grade: <g>); weighted overall = <grade> because <reason>." If a red sub-module holds <5% of total TVS and is capped, the overall grade may be orange; if it holds >25%, the overall grade is red. Do not let qualitative reasoning substitute for the percentages — write the numbers. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. External contract calls. Enumerate every external contract the core contracts call or read from (oracles, price feeds, AMM pools, lending pools, staking/deposit contracts, yield wrappers). For each, identify the address, the provider, and what user-facing function of this protocol would break or mis-price if that external contract paused, mis-reported, or behaved adversarially. Grep for "oracle", "aggregator", "getPrice", "latestAnswer", "chainlink", "pyth", "redstone" as a starting point. To verify an oracle is live and what it currently reports, hit https://defipunkd.com/api/contract/read?chainId=<id>&address=<oracle>&method=latestAnswer (or &method=latestRoundData, &method=getPrice, &method=description; use the BARE method name without parens) and cite the URL — the response includes blockNumber/blockHash and rawReturnData, which is stronger evidence than a docs page about which feed "should" be used. - A2. Off-chain actor committees reporting INTO the protocol. Oracle committees, guardian multisigs, DAO-selected validator sets acting as protocol reporters, exit-bus signers, fraud-proof challengers. For each, record committee size, quorum, who picks the members, and what mis-reporting could do (mint, burn, finalize withdrawal, freeze). Distinguish this from governance admins (control slice). NOTE ON STAKING PROTOCOLS: validator slashing and node-operator misbehavior are properties of the base-chain substrate, NOT external dependencies, when the operator set is diversified enough that a coordinated failure caps at <5% principal loss. Count validator/operator risk under A2 ONLY if the operator set is small, non-diversified, or lacks bonding / slashing-insurance / diversification mitigations. A curated set of 30+ independent operators with documented diversification falls under the mitigated path; a 3-operator LST does not. Do not cite the protocol's own risk disclosure as evidence that operator failure = principal loss unless you also check the diversification and bond mitigations. - A3. Bridge / cross-chain messaging dependencies. Only count bridges that carry material TVL or are required for a core user flow. For each, name the bridge operator (canonical L1↔L2, LayerZero, Wormhole, Axelar, custom multisig), the trust model (canonical, optimistic, light-client, guardian set), and what fraction of TVL or users ride on it. "wstETH exists on 15 chains" is not a finding unless material TVL sits there. Before listing any non-primary chain deployment as a dependency, verify it is still operational as of analysis_date — retired or sunset deployments (e.g., Lido-on-Terra, Lido-on-Solana) belong in unknowns[] or should be omitted, never cited as a current dependency. - A4. Nested collateral / restaking chains. For restaking / LRT / receipt-of-receipt designs: record the depth of the collateral chain, every actor with slashing or freezing power at each level, and whether a failure N levels deep propagates to user principal here. - A5. Fork lineage (silent check). If DeFiLlama's forkedFrom is non-empty, record it as one finding and move on. If empty, do NOT add a placeholder finding; it adds noise. - A6. Fallback mechanisms and circuit breakers. What catches an external failure? Sanity-check contracts on oracle reports, rebase bounds, pause paths triggered by bad prices, second-opinion oracles, max-per-block throughput caps, withdrawal queues that absorb bad reports. Record which A1–A4 risks are mitigated by which fallback, and which are unmitigated. For EACH fallback you cite, state its activation status explicitly: (i) LIVE and enforcing on-chain today, (ii) DEPLOYED but not yet wired / activated (e.g., interface exists but the address is zero or the role is unassigned), or (iii) DOCUMENTED / PROPOSED only (forum post, LIP draft, audit pending). Only (i) counts as mitigation for the grade. A fallback in state (ii) or (iii) should be noted but must not reduce the risk in your steel-man or verdict. If you cannot determine activation status, add an unknowns[] entry rather than assume it is live. - A7. Sequencer / L1-liveness dependency BEYOND the base-chain substrate. SCOPE — sequencer risk only counts here when the protocol IS its own L2/L3 appchain or app-rollup, where the sequencer is part of the protocol's own stack and a freeze is a protocol-level outage. A protocol permissionlessly deployed on a third-party L2 inherits that L2's sequencer as substrate, not an A7 dependency. Record the sequencer/DA trust model when A7 applies. - A8. Keeper / relayer / off-chain bot liveness. Protocols that need permissionless-but-necessary off-chain actors (liquidation bots, auto-compounders, deposit relayers, intent solvers). Record whether the role is permissionless, what degrades if nobody runs it (yield paused, bad debt accumulates, positions go stale), and whether the failure mode is graceful or catastrophic. - A9. Governance-mutable dependency surface. Can an admin or DAO action silently INTRODUCE a NEW EXTERNAL dependency — swap the oracle address to a different provider, register a new staking module that calls an untrusted contract, add a new bridge, route SY through a new external vault — without an exit window for users? Check the upgrade / router / module-registry contracts. Answer: which EXTERNAL dependencies are governance-mutable, who holds that power, and whether there is a timelock or exit window. SCOPE LIMIT — read carefully: A9 is about the *external dependency surface*, not the upgrade surface in general. "The proxyAdmin / EOA can upgrade the router implementation to arbitrary bytecode" is a CONTROL-slice finding (admin can rug), NOT an autonomy-A9 finding. A9 fires only when the upgrade specifically swaps out or adds a contract that THIS protocol calls or trusts (e.g., changing the oracle address from Chainlink to a malicious feed, registering a new SY adapter that points to a third-party vault, redirecting a bridge endpoint). If the only finding is "admin can change implementation," do not log it under A9 and do not let it drive the autonomy grade — note it under control instead. The autonomy-relevant version of the same upgrade key is "admin can swap [specific external address X] without timelock"; that requires identifying the specific external dependency that becomes mutable. STEEL-MAN (per Hard Rule 13): write one-sentence strongest arguments for red, orange, and green using the A1–A9 findings. IMPACTED TVS ESTIMATE: the headline MUST include a rough impacted-TVS figure — the fraction of protocol TVS that could be lost or frozen if the worst-unmitigated dependency you identified failed. Use "~X%" if exact numbers are unavailable, "<1%" for de minimis, "unclear" only if A1–A9 left the question genuinely open (in which case grade=unknown is usually correct). Do NOT substitute qualitative phrases like "significant" — give a number or bracket. GRADE ANCHORS (mapped to DefiScan v1 stages): - green = Stage 2 equivalent. Failure of any external dependency cannot cause loss of user principal or unclaimed yield. Either there are no material external dependencies, or every critical one has a documented fallback (A6) that keeps users whole. Governance cannot silently introduce new dependencies without an exit window (A9). Impacted TVS under any single-dependency failure: effectively 0. - orange = Stage 1 equivalent. Failure of some external dependency can cause loss of unclaimed yield, or can materially change expected performance (pause withdrawals, freeze positions, degrade price quality), but cannot cause loss of principal. Committee-based oracles with sanity checks, canonical-only bridges, fallback paths that exist but are incomplete, or governance-mutable dependencies protected by a ≥7-day timelock. Impacted TVS is bounded and recoverable. - red = Stage 0 equivalent. Failure of an external dependency CAN cause theft or loss of principal. Examples: single-provider oracle with no sanity check or fallback, material TVL on a non-canonical bridge with a guardian multisig, governance can hot-swap oracles or add staking modules with no timelock or exit window, unmitigated keeper-liveness dependency where positions become insolvent if bots stop. Impacted TVS is material. - unknown = checklist incomplete after inspecting source + verified contracts. Prefer unknown over guessing when A1/A6 could not be reconstructed. RESERVE unknown for cases where the CORE ARCHITECTURE itself is unverifiable — not for cases where you merely cannot enumerate every per-market dependency in a multi-market protocol. If the core router/factory/oracle architecture is verifiable on-chain and you can determine whether the core requires external dependencies, grade the architecture even when an exhaustive per-market external-dependency census is infeasible. Acknowledge the per-market gap in unknowns[] but still issue a grade. Refusing to grade a multi-market protocol because you cannot list every SY/vault/market is over-use of unknown; grade the architecture and say so. PROMPT-META CHECK (per Hard Rule 17): before finalizing, verify the verdict cites concrete contract addresses, docs, or code — not the rubric itself. If your verdict says "the protocol belongs to a category the rubric marks red", rewrite it with the A1–A9 finding that actually justifies the grade, or drop to grade=unknown. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "autonomy", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Open Access 1/3 submitted
Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: OPEN-ACCESS Evaluate who is allowed to use the protocol and whether any of that permission is granted off-chain. Scope: this slice is about ADMISSION — who can enter, exit, or transact. Operator LIVENESS (what breaks if keepers/oracles go offline) is assessed in the dependencies slice and is out of scope for the grade here. You may note operator dependencies as context, but do not let "the protocol halts if operator X disappears" drive the access grade on its own; that belongs in dependencies. Source verification / contract verification on block explorers is assessed in the verifiability slice and is out of scope here — do NOT let "contract is unverified" drive the access grade. Framing: the smart contracts are the access layer; frontends are UX. A permissionless contract is reachable by any client (SDK, third-party UI, aggregator, wallet integration). Frontend ToS, IP geo-blocking, and wallet screening are publisher policies on one specific client — they are reported as context but do NOT determine the grade. The grade hinges on (1) what the contract itself permits, and (2) whether the protocol is practically reachable without the official publisher's cooperation. Meta-check before finalizing: if your verdict cites phrases from this prompt as evidence ("the protocol meets the 'credible alternatives' condition", "this fits the 'documented fallback' rule"), redo the verdict. The prompt describes the rubric; evidence must come from the protocol. A verdict should cite what the protocol does, not what the rubric says. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. Whitelist / allowlist modifiers in user-facing entry points. Grep for "onlyWhitelisted", "onlyRole", "allowlist", "isAccredited", "isKYCed". Note which functions are gated and who can add/remove from the list. - A2. Off-chain operators in the admission path: keepers, sequencers, privileged relayers, oracle posters whose approval is required to admit a user action (not just to keep the protocol live). For each, identify whether the role is held by a single operator, a permissioned committee, or is permissionless. Enumerate per user-facing function class (deposit vs withdraw-request vs claim-finalized vs transfer) which ones require operator approval to be admitted, and which ones admit users unconditionally. A function whose placement is unconditional but whose downstream settlement depends on an operator is an admission-permissionless function — flag the liveness dependency as context and defer its grading weight to the dependencies slice. - A3. Frontend restrictions on the official interface — record as context, not as a grade lever. Distinguish: - A3-passive: boilerplate ToS clauses (sanctions attestation, restricted-territory self-certification, VPN-circumvention prohibition, "comply with applicable law" eligibility, age of majority). - A3-active: runtime enforcement — IP-based geo-blocking, wallet-address screening against a sanctions oracle (Chainalysis, TRM, Elliptic), KYC wall, rendering-blocking jurisdiction banner. Record findings under the correct tier. Quote ToS text or banner text in evidence[].shows. These findings populate the headline and rationale but do NOT move the grade by themselves; the grade is set by A1, A2, and the A3b path check below. - A3b. Independent access paths (the operative grade input). Enumerate paths that do not require the official publisher's cooperation: - Published SDK / library / CLI for direct contract interaction. - Third-party frontends operated by separate legal entities. - Wallet-integrated access (MetaMask Swaps, Safe apps, etc.). - DEX / lending / yield aggregators that route through the contracts. Record at least one concrete link per path that exists. The protocol does NOT have to self-document these — the test is existence, not UX cost. An A3b-i redistribution of the official UI bound by the same ToS does NOT count as an independent path. - A4. Sanctions / compliance tooling at the contract level: does the protocol check addresses against OFAC lists or similar on-chain blocklists in the contract itself? (Frontend-only screening belongs in A3.) - A5. Differentiate read access vs write access: many protocols are read-permissionless (anyone can view state) but write-gated (only certain addresses can deposit/borrow). Record both. - A6. ToS / Legal links: locate them on the website and produce a VERBATIM quote of any jurisdictional, sanctions, or eligibility clause in evidence[].shows. If you cannot extract the clause text verbatim (SPA render failure, paywall, dead link, etc.), do NOT paraphrase or infer from general knowledge — record the ToS URL in unknowns[] with the reason extraction failed. Assertions about ToS content without a verbatim quote will be downweighted by reviewers. Then write the steel-man section per Hard Rule 11. Grade rules (admission-focused; liveness concerns belong in dependencies; source verification belongs in verifiability): - green = no contract-level whitelist/KYC on user entry/exit; no operator approval required to admit a user action; AND at least one independent A3b path exists (published SDK, third-party frontend, wallet integration, or aggregator routing). Frontend ToS posture and A3-active enforcement on the official UI do NOT block green when contracts are permissionless and an independent path exists — they are reported as context. - orange = contracts admit users unconditionally, BUT the protocol is operationally captured by the official publisher: no published SDK, no third-party frontend, no wallet integration, no aggregator routing. The contract is theoretically open but practically reachable only through the official UI. Also applies when admission requires approval from a permissioned committee that is governance-managed with a documented replacement procedure. - red = contract-level whitelist / KYC on user entry/exit, OR admission of a core user action requires approval from a single privileged operator or a small committee with no documented replacement procedure, OR enforces an on-chain blocklist updatable by a single party. - unknown = checklist incomplete after checking the sources above. Default-grade guidance: when contracts are fully permissionless AND any A3b independent path exists, the default grade is green regardless of frontend ToS or A3-active enforcement on the official UI. Frontend geo-blocking, sanctions-oracle wallet screening, and ToS sanctions clauses are publisher policies on one client and are reported in findings/headline as context, not as grade levers. To grade orange on operational-capture grounds, the auditor must affirmatively show that ALL independent paths are absent or also gated. Guideline on committees: where admission depends on a multi-operator committee, the relevant axes are (a) set size, (b) whether replacement/rotation is governed on-chain, (c) whether the replacement procedure is publicly documented. A large set with on-chain governance replacement should not be graded as a single-party operator even if rotation is not instantaneous. A small set with informal replacement should be treated as a single-party operator. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "open-access", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Audit all 5 dimensions · one prompt Submit run ↗
### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: CONTROL Evaluate who can change the protocol's rules, how fast, and how broadly. (Step 0 capability probe and the off-chain-only fallback live in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]) - **C1.** For each address you assess: who is the contract owner / admin / pendingAdmin / governor — read these via the block explorer's "Read Contract" tab OR `https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=owner` (BARE method names: `&method=owner`, `&method=admin`, `&method=pendingOwner`, `&method=governor`). For Safes use `/api/safe/owners?chainId=<id>&address=0x...`. When a protocol has multiple major versions deployed (v2/v3/v4), perform C1 reads on the NEWEST deployment separately — newer deployments often have weaker control surfaces than the legacy core. - **C2.** Upgrade mechanism: transparent proxy / UUPS / Beacon / Diamond / immutable. Identify the proxy admin address. Check upgradeability of GOVERNANCE contracts too — a Governor / Aragon Voting / OZ Governor is often itself a proxy whose admin is the Timelock. Asymmetry: when fund-holding cores are immutable AND governance has no admin path that reaches them, an upgradable Governor/Timelock is T3-only and must NOT drag the verdict below green on that basis alone (see grade rules and the "immutable cores" caveat). Only call upgradability "mixed" if you can name a concrete function on the upgradable surface that reaches T1 or T2 on user funds. - **C3.** EXECUTION PATH (enumerate every stage, in order, with delays in seconds). The operative path is usually a chain (voting → scheduler → timelock → executor; or governor → queue → execute; or Aragon Voting → DualGovernance → EmergencyProtectedTimelock → AdminExecutor). For each stage, record (a) the contract address, (b) the delay constant name + value in seconds, (c) the URL you read it from (block-explorer Read Contract OR `/api/contract/read?...&method=MIN_DELAY&block=<n>`). Do NOT stop at the first timelock-shaped contract — if its admin is itself called by another contract, keep walking. The grading delay is the SUM OF DELAYS ON THE UNCONTESTED FAST PATH (shortest time a proposal with no opposition can go from submission to executable). Dynamic / contested extensions (veto signaling, rage quit, escrow delay) are modifiers, not the basis — note them separately. - **C4.** Enumerate EVERY multisig with reachable control — main proxy admin, emergency activation, emergency execution, reseal / pause, gate-seal committees, tiebreaker, per-module admins. For each Safe, fetch threshold + owners + version via `/api/safe/owners?chainId=<id>&address=0x...` (response includes raw eth_call data, so the URL is citable evidence). Enumerate ops/council/incentives multisigs even when off the upgrade path — record their scope so a reader can see they are NOT on the upgrade path. For each: (a) address, (b) threshold / total signers, (c) signer identities classified as insider (team, paid auditors under ongoing engagement, mandated service providers) vs non-insider (independent community members, unaffiliated researchers), (d) the specific power held (upgrade, pause, parameter, etc.). - **C5.** On-chain governance: Governor / GovernorBravo / OZ Governor / Aragon Voting with token-weighted voting? Record proposal threshold, voting period, quorum, and the timelock delay between queue and execute. Every numeric constant must come from a Read Contract call you can link to, or be in unknowns[] with the C-code. If votingDelay / votingPeriod are denominated in BLOCKS, convert to seconds at the chain's CURRENT block time (Ethereum mainnet ≈ 12s post-Merge, not the 15s in older Compound/Bravo deployments) — cite both block count and converted seconds. - **C6.** EMERGENCY POWERS: separate emergency-pause / guardian role with a different time cap or different actor than the main upgrade authority? Record it explicitly. - **C7.** POWER TIER (blast radius). For each privileged path in C3–C6, classify the WORST thing that path can do, choosing the highest applicable tier. Cite the specific function name and any on-chain bound — tier claims without a named function are unsupported. - **T1 — FUND-CRITICAL**: replace implementation of contracts holding user funds; change AMM math / accounting / collateral logic; mint unbacked debt or shares; pause withdrawals; drain user-fund treasury; change oracle to attacker-controlled source; replace upgrade admin with EOA. - **T2 — ECONOMICALLY MATERIAL**: change fee parameters within bounded ranges; redirect protocol fees; add/remove markets / collateral types; bounded inflation or token mint within hard-capped schedule; spend protocol-owned (non-user) treasury. - **T3 — GOVERNANCE-INTERNAL**: change voting rules, quorum, voting period, proposal threshold; upgrade the Governor itself; rotate Timelock admin; mint governance tokens within a capped annual schedule. - **T4 — OPERATIONAL**: incentives distribution, grants, ENS / frontend canonicalization, deployment coordination, periphery router deprecation. The grade is set by the HIGHEST tier reachable on the uncontested fast path, not the median. State the tier and the binding function in the verdict. ### Read Contract discipline (applies to C3, C4, C5) Every numeric constant cited (timelock delays, voting periods, multisig thresholds, quorum percentages) must come from EITHER (a) a block-explorer Read Contract URL, OR (b) a DeFiPunkd `/api/contract/read` or `/api/safe/owners` URL (preferred with `&block=<n>` for content-addressed evidence), OR (c) an unknowns[] entry with the C-code. Docs / blog posts are corroboration only — they cannot be the sole citation for a value that is also readable on-chain. ### Off-chain-only substitute hierarchy (when grading_basis="off-chain-only" — see preamble Rule 16) When on-chain reads were genuinely unreachable this run, eligible off-chain substitutes in priority order: 1. Linked audit PDFs (admin roles, multisig members, timelock delays usually enumerated). 2. Governance forum posts that quote constants from a successful on-chain proposal (cite post URL + linked execution-tx URL). 3. Official protocol docs pages with named addresses and roles (must be on a domain owned by the protocol). 4. GitHub README / SECURITY.md / governance/*.md at a pinned commit SHA. Forbidden substitutes: third-party blog posts, X / Twitter threads, search-result snippets, model memory. Required degradation: any C-code citing a numeric constant from docs/forum/audit prose ONLY must also carry an `unknowns[]` entry with `-offchain` suffix noting "value not re-read on-chain in this run; corroboration only". ### Grade rules (apply the timelock bar conditional on the highest C7 tier reachable on the fast path) Security Council standard (used below): a multisig qualifies as "Security Council" only if ALL of: ≥7 signers, ≥51% threshold, ≥50% non-insider signers, every signer publicly announced. Failing any criterion = NOT a Security Council, regardless of signer reputation. - **green**: highest reachable tier is T3 or T4 regardless of timelock; OR T2 reachable with uncontested-fast-path delay ≥7 days; OR T1 reachable only via immutable contracts (T1 is unreachable); OR T1 reachable with uncontested-fast-path delay ≥7 days combined with a Security Council multisig; OR T1 reachable with uncontested-fast-path delay ≥7 days through active on-chain governance with broad token distribution. - **orange**: T2 reachable with uncontested-fast-path delay >0 but <7 days; OR T1 reachable with uncontested-fast-path delay >0 but <7 days; OR a multisig failing one or more Security Council criteria sits on a T1/T2 path; OR unclear upgrade authority on a T1/T2 path; OR governance with very short timelock or low quorum on a T1/T2 path. - **red**: T1 reachable with no timelock by a single EOA or 2-of-3 multisig; OR a T1 upgrade admin that is not a smart contract you can audit. - **unknown**: completed the checklist but still cannot determine the upgrade authority OR cannot classify the highest tier reachable on the main contracts. Tiering caveats: - "Bounded" must be enforced ON-CHAIN to count as T2. A function that sets fees with no upper-bound check is T1 — cite the bound check. - Recurring T2 economic extraction (e.g. fee redirect with no rate limit) approaches T1 over time. A single proposal that can permanently redirect all future revenue is T1. - T3 assumes the governance contract cannot itself authorize a T1/T2 action without going through the same timelock. If governance can self-upgrade to bypass the timelock, T3 collapses into T1. - Do not downgrade tier by hand-waving ("realistically governance would never…"). Tier on what the contract permits, not what feels likely. Notes: - **Dynamic / dual-governance timelocks** (Lido, Compound escrow veto): the rubric grades on the uncontested path because that is the path most upgrades take. A dynamic extension that fires only under stake-weighted opposition is a real protection — name it in the green steel-man, but it does not lift an orange fast path into green; state the tension in the verdict. - **Immutable cores with upgradable governance** (Uniswap-style): if fund-holding contracts are immutable and have no admin-reachable function moving / freezing / re-routing user funds, the highest reachable tier on the upgrade path is T3 — green regardless of timelock. Don't grade this orange just because the Governor is a proxy — that's a C2 fact, not a downgrade. Downgrade only applies if you can cite a concrete function on the upgradable surface that reaches T1 or T2 (privileged hook, upgradable factory controlling fund-routing, fee-switch redirecting protocol revenue without bound). - **The 7-day bar** reflects the exit-window standard — users need notice after a queued upgrade to withdraw if they disagree. The ability-to-exit slice grades the exit side; this slice grades the delay side; both must hold for users to actually benefit from the delay. --- ### Slice: ABILITY-TO-EXIT Evaluate whether users can withdraw their funds on their own terms, even under adversarial admin conditions. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - E1. Enumerate every user-facing exit function in the main contracts: withdraw, redeem, burn, requestWithdrawal, claim, exit, etc. List them by name. Do NOT treat the contract as a monolith. - E2. For EACH exit function in E1: identify its access modifiers and any pause guards (e.g. _checkResumed, whenNotPaused, onlyRole). Functions that gate REQUEST PLACEMENT often differ from functions that CLAIM FINALIZED FUNDS — check both separately. - E3. For each pause guard: identify the role holder (which address holds PAUSE_ROLE / GUARDIAN / etc.) and the maximum pause duration. Specifically check whether PAUSE_INFINITELY (or equivalent uncapped pause) is callable, and which actor can call it (single multisig vs governance vote). For role-holder reads use https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=hasRole&args=0x...,0x... or &method=getRoleAdmin&args=0x.... For "is currently paused" checks use &method=paused or &method=isPaused&args=<resume-code>. Use the BARE method name (no parens). Cite the URL with &block=<n> in evidence[]. - E4. EMERGENCY vs GOVERNANCE pause distinction: many protocols have a fast-acting emergency pause capped at N days and a slow governance pause that can be indefinite. Record both paths separately if present, with their time caps and actor classes. - E5. Queued redemption: documented maximum queue duration, daily withdrawal caps, whether the queue itself is pausable. - E6. Forced-exit / escape-hatch / permissionless emergency-exit mechanism for adversarial-admin scenarios. - E7. Frontend dependency: confirm exit functions are directly callable on-chain (e.g. via Etherscan write tab or a generic wallet) without the project's frontend. Then write the steel-man section per Hard Rule 11. Common red-vs-orange tension on this slice: indefinite pause exists (suggests red) BUT the realistic emergency path is time-capped AND claims of already-finalized exits are not pause-gated (suggests orange). Resolve this by stating who can do what for how long, not by stopping at the worst-case sentence. Grade rules: - green = permissionless exit; pause is either absent, narrowly scoped to clearly-described emergencies with auto-expiry, or capped at ≤7 days; no frontend dependency for exit; claims of already-finalized exits are not pause-gated under any path. - orange = pausable with broad scope OR indefinite pause is reachable only through governance vote (not unilateral admin action), OR queued redemption with documented max > 7 days, OR claims-of-finalized are exempt but new-request placement can be paused indefinitely by governance. - red = exit requires admin signature, OR ANY actor (including governance) can pause CLAIMS of finalized exits indefinitely, OR there is no on-chain exit function at all (purely custodial), OR pause is held by a single EOA / 2-of-3 multisig with no time cap. - unknown = checklist incomplete after checking the sources above. --- ### Slice: AUTONOMY Evaluate this protocol's autonomy: can a failure of anything outside its own contracts cause theft or loss of user principal, loss of unclaimed yield, or materially change the protocol's expected performance? "Autonomy" is not "has zero external touchpoints" — it is "external failures are either survivable or recoverable without user loss". This slice adapts DefiScan v1's Autonomy dimension; dependencies are one of several criteria, not the whole frame. GUARDRAILS (read before grading): - Category alone (Liquid Staking, Bridge, RWA Lending, Restaking, …) does NOT force a grade. A category is a hint about where to look; the grade must come from the concrete A1–A9 findings below. - Base-chain consensus (Ethereum PoS, the chain's validator set, the canonical Deposit Contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa) is the SUBSTRATE, not a dependency, for any protocol deployed on that chain. Do not list "depends on Ethereum" as a finding. - Oracles or other integrations used by DOWNSTREAM protocols that happen to read this protocol's token (e.g. Chainlink stETH/USD consumed by Aave) are NOT this protocol's dependencies. Count only what THIS protocol's contracts call or trust on-chain. If a feed or contract appears in the protocol's docs only as reference material for third-party integrators, EXCLUDE IT ENTIRELY — do not log it as a finding even with a "peripheral" or "referenced only" caveat. - "Upgradeable admin can change things" belongs to the CONTROL slice; only count it here when the upgrade surface lets governance silently swap an external dependency (see A9). - Underlying-asset risk in opt-in, isolated markets is NOT autonomy-red on its own. When a protocol wraps third-party yield-bearing assets (LSTs, LRTs, ERC-4626 vaults, lending receipts, restaked tokens) into per-market silos that users explicitly choose, a failure of one underlying does NOT propagate to other markets and is risk the user opted into per-market. Record it under A4 with depth and propagation scope, but do not let it alone drive a red verdict — red requires an external dependency that cross-cuts the protocol or that the user did not opt into at deposit time. A failure mode that is "if the LRT you deposited is hacked, your principal in that LRT-backed market is impaired" is the underlying's autonomy story, not this protocol's; grade it on whether THIS protocol introduces additional dependencies on top. - Sub-module enumeration is mandatory before grading. If the protocol ships distinct product lines or modules (e.g., a v2 core AMM plus a newer perps/funding-rate module, a lending pool plus a separate vault layer, an L1 core plus a cross-chain extension), enumerate each in findings and grade against the WORST module weighted by its share of TVS or its blast radius. A green core does not rescue an orange/red sub-module; conversely, a small red sub-module with capped TVS may bound the overall grade to orange. Name each module by its on-chain factory or router address. If you do not know whether a module exists, that is an unknowns[] entry, not silence. EXPLICIT TVS WEIGHTING: in the verdict, state each module's approximate share of total protocol TVS (use "~X%" if exact figures unavailable; check DeFiLlama or block-explorer balances on the module's main contract) and how that share informs the weighted grade. Format: "Module A holds ~X% of TVS (grade: <g>); Module B holds ~Y% (grade: <g>); weighted overall = <grade> because <reason>." If a red sub-module holds <5% of total TVS and is capped, the overall grade may be orange; if it holds >25%, the overall grade is red. Do not let qualitative reasoning substitute for the percentages — write the numbers. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. External contract calls. Enumerate every external contract the core contracts call or read from (oracles, price feeds, AMM pools, lending pools, staking/deposit contracts, yield wrappers). For each, identify the address, the provider, and what user-facing function of this protocol would break or mis-price if that external contract paused, mis-reported, or behaved adversarially. Grep for "oracle", "aggregator", "getPrice", "latestAnswer", "chainlink", "pyth", "redstone" as a starting point. To verify an oracle is live and what it currently reports, hit https://defipunkd.com/api/contract/read?chainId=<id>&address=<oracle>&method=latestAnswer (or &method=latestRoundData, &method=getPrice, &method=description; use the BARE method name without parens) and cite the URL — the response includes blockNumber/blockHash and rawReturnData, which is stronger evidence than a docs page about which feed "should" be used. - A2. Off-chain actor committees reporting INTO the protocol. Oracle committees, guardian multisigs, DAO-selected validator sets acting as protocol reporters, exit-bus signers, fraud-proof challengers. For each, record committee size, quorum, who picks the members, and what mis-reporting could do (mint, burn, finalize withdrawal, freeze). Distinguish this from governance admins (control slice). NOTE ON STAKING PROTOCOLS: validator slashing and node-operator misbehavior are properties of the base-chain substrate, NOT external dependencies, when the operator set is diversified enough that a coordinated failure caps at <5% principal loss. Count validator/operator risk under A2 ONLY if the operator set is small, non-diversified, or lacks bonding / slashing-insurance / diversification mitigations. A curated set of 30+ independent operators with documented diversification falls under the mitigated path; a 3-operator LST does not. Do not cite the protocol's own risk disclosure as evidence that operator failure = principal loss unless you also check the diversification and bond mitigations. - A3. Bridge / cross-chain messaging dependencies. Only count bridges that carry material TVL or are required for a core user flow. For each, name the bridge operator (canonical L1↔L2, LayerZero, Wormhole, Axelar, custom multisig), the trust model (canonical, optimistic, light-client, guardian set), and what fraction of TVL or users ride on it. "wstETH exists on 15 chains" is not a finding unless material TVL sits there. Before listing any non-primary chain deployment as a dependency, verify it is still operational as of analysis_date — retired or sunset deployments (e.g., Lido-on-Terra, Lido-on-Solana) belong in unknowns[] or should be omitted, never cited as a current dependency. - A4. Nested collateral / restaking chains. For restaking / LRT / receipt-of-receipt designs: record the depth of the collateral chain, every actor with slashing or freezing power at each level, and whether a failure N levels deep propagates to user principal here. - A5. Fork lineage (silent check). If DeFiLlama's forkedFrom is non-empty, record it as one finding and move on. If empty, do NOT add a placeholder finding; it adds noise. - A6. Fallback mechanisms and circuit breakers. What catches an external failure? Sanity-check contracts on oracle reports, rebase bounds, pause paths triggered by bad prices, second-opinion oracles, max-per-block throughput caps, withdrawal queues that absorb bad reports. Record which A1–A4 risks are mitigated by which fallback, and which are unmitigated. For EACH fallback you cite, state its activation status explicitly: (i) LIVE and enforcing on-chain today, (ii) DEPLOYED but not yet wired / activated (e.g., interface exists but the address is zero or the role is unassigned), or (iii) DOCUMENTED / PROPOSED only (forum post, LIP draft, audit pending). Only (i) counts as mitigation for the grade. A fallback in state (ii) or (iii) should be noted but must not reduce the risk in your steel-man or verdict. If you cannot determine activation status, add an unknowns[] entry rather than assume it is live. - A7. Sequencer / L1-liveness dependency BEYOND the base-chain substrate. SCOPE — sequencer risk only counts here when the protocol IS its own L2/L3 appchain or app-rollup, where the sequencer is part of the protocol's own stack and a freeze is a protocol-level outage. A protocol permissionlessly deployed on a third-party L2 inherits that L2's sequencer as substrate, not an A7 dependency. Record the sequencer/DA trust model when A7 applies. - A8. Keeper / relayer / off-chain bot liveness. Protocols that need permissionless-but-necessary off-chain actors (liquidation bots, auto-compounders, deposit relayers, intent solvers). Record whether the role is permissionless, what degrades if nobody runs it (yield paused, bad debt accumulates, positions go stale), and whether the failure mode is graceful or catastrophic. - A9. Governance-mutable dependency surface. Can an admin or DAO action silently INTRODUCE a NEW EXTERNAL dependency — swap the oracle address to a different provider, register a new staking module that calls an untrusted contract, add a new bridge, route SY through a new external vault — without an exit window for users? Check the upgrade / router / module-registry contracts. Answer: which EXTERNAL dependencies are governance-mutable, who holds that power, and whether there is a timelock or exit window. SCOPE LIMIT — read carefully: A9 is about the *external dependency surface*, not the upgrade surface in general. "The proxyAdmin / EOA can upgrade the router implementation to arbitrary bytecode" is a CONTROL-slice finding (admin can rug), NOT an autonomy-A9 finding. A9 fires only when the upgrade specifically swaps out or adds a contract that THIS protocol calls or trusts (e.g., changing the oracle address from Chainlink to a malicious feed, registering a new SY adapter that points to a third-party vault, redirecting a bridge endpoint). If the only finding is "admin can change implementation," do not log it under A9 and do not let it drive the autonomy grade — note it under control instead. The autonomy-relevant version of the same upgrade key is "admin can swap [specific external address X] without timelock"; that requires identifying the specific external dependency that becomes mutable. STEEL-MAN (per Hard Rule 13): write one-sentence strongest arguments for red, orange, and green using the A1–A9 findings. IMPACTED TVS ESTIMATE: the headline MUST include a rough impacted-TVS figure — the fraction of protocol TVS that could be lost or frozen if the worst-unmitigated dependency you identified failed. Use "~X%" if exact numbers are unavailable, "<1%" for de minimis, "unclear" only if A1–A9 left the question genuinely open (in which case grade=unknown is usually correct). Do NOT substitute qualitative phrases like "significant" — give a number or bracket. GRADE ANCHORS (mapped to DefiScan v1 stages): - green = Stage 2 equivalent. Failure of any external dependency cannot cause loss of user principal or unclaimed yield. Either there are no material external dependencies, or every critical one has a documented fallback (A6) that keeps users whole. Governance cannot silently introduce new dependencies without an exit window (A9). Impacted TVS under any single-dependency failure: effectively 0. - orange = Stage 1 equivalent. Failure of some external dependency can cause loss of unclaimed yield, or can materially change expected performance (pause withdrawals, freeze positions, degrade price quality), but cannot cause loss of principal. Committee-based oracles with sanity checks, canonical-only bridges, fallback paths that exist but are incomplete, or governance-mutable dependencies protected by a ≥7-day timelock. Impacted TVS is bounded and recoverable. - red = Stage 0 equivalent. Failure of an external dependency CAN cause theft or loss of principal. Examples: single-provider oracle with no sanity check or fallback, material TVL on a non-canonical bridge with a guardian multisig, governance can hot-swap oracles or add staking modules with no timelock or exit window, unmitigated keeper-liveness dependency where positions become insolvent if bots stop. Impacted TVS is material. - unknown = checklist incomplete after inspecting source + verified contracts. Prefer unknown over guessing when A1/A6 could not be reconstructed. RESERVE unknown for cases where the CORE ARCHITECTURE itself is unverifiable — not for cases where you merely cannot enumerate every per-market dependency in a multi-market protocol. If the core router/factory/oracle architecture is verifiable on-chain and you can determine whether the core requires external dependencies, grade the architecture even when an exhaustive per-market external-dependency census is infeasible. Acknowledge the per-market gap in unknowns[] but still issue a grade. Refusing to grade a multi-market protocol because you cannot list every SY/vault/market is over-use of unknown; grade the architecture and say so. PROMPT-META CHECK (per Hard Rule 17): before finalizing, verify the verdict cites concrete contract addresses, docs, or code — not the rubric itself. If your verdict says "the protocol belongs to a category the rubric marks red", rewrite it with the A1–A9 finding that actually justifies the grade, or drop to grade=unknown. --- ### Slice: OPEN-ACCESS Evaluate who is allowed to use the protocol and whether any of that permission is granted off-chain. Scope: this slice is about ADMISSION — who can enter, exit, or transact. Operator LIVENESS (what breaks if keepers/oracles go offline) is assessed in the dependencies slice and is out of scope for the grade here. You may note operator dependencies as context, but do not let "the protocol halts if operator X disappears" drive the access grade on its own; that belongs in dependencies. Source verification / contract verification on block explorers is assessed in the verifiability slice and is out of scope here — do NOT let "contract is unverified" drive the access grade. Framing: the smart contracts are the access layer; frontends are UX. A permissionless contract is reachable by any client (SDK, third-party UI, aggregator, wallet integration). Frontend ToS, IP geo-blocking, and wallet screening are publisher policies on one specific client — they are reported as context but do NOT determine the grade. The grade hinges on (1) what the contract itself permits, and (2) whether the protocol is practically reachable without the official publisher's cooperation. Meta-check before finalizing: if your verdict cites phrases from this prompt as evidence ("the protocol meets the 'credible alternatives' condition", "this fits the 'documented fallback' rule"), redo the verdict. The prompt describes the rubric; evidence must come from the protocol. A verdict should cite what the protocol does, not what the rubric says. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. Whitelist / allowlist modifiers in user-facing entry points. Grep for "onlyWhitelisted", "onlyRole", "allowlist", "isAccredited", "isKYCed". Note which functions are gated and who can add/remove from the list. - A2. Off-chain operators in the admission path: keepers, sequencers, privileged relayers, oracle posters whose approval is required to admit a user action (not just to keep the protocol live). For each, identify whether the role is held by a single operator, a permissioned committee, or is permissionless. Enumerate per user-facing function class (deposit vs withdraw-request vs claim-finalized vs transfer) which ones require operator approval to be admitted, and which ones admit users unconditionally. A function whose placement is unconditional but whose downstream settlement depends on an operator is an admission-permissionless function — flag the liveness dependency as context and defer its grading weight to the dependencies slice. - A3. Frontend restrictions on the official interface — record as context, not as a grade lever. Distinguish: - A3-passive: boilerplate ToS clauses (sanctions attestation, restricted-territory self-certification, VPN-circumvention prohibition, "comply with applicable law" eligibility, age of majority). - A3-active: runtime enforcement — IP-based geo-blocking, wallet-address screening against a sanctions oracle (Chainalysis, TRM, Elliptic), KYC wall, rendering-blocking jurisdiction banner. Record findings under the correct tier. Quote ToS text or banner text in evidence[].shows. These findings populate the headline and rationale but do NOT move the grade by themselves; the grade is set by A1, A2, and the A3b path check below. - A3b. Independent access paths (the operative grade input). Enumerate paths that do not require the official publisher's cooperation: - Published SDK / library / CLI for direct contract interaction. - Third-party frontends operated by separate legal entities. - Wallet-integrated access (MetaMask Swaps, Safe apps, etc.). - DEX / lending / yield aggregators that route through the contracts. Record at least one concrete link per path that exists. The protocol does NOT have to self-document these — the test is existence, not UX cost. An A3b-i redistribution of the official UI bound by the same ToS does NOT count as an independent path. - A4. Sanctions / compliance tooling at the contract level: does the protocol check addresses against OFAC lists or similar on-chain blocklists in the contract itself? (Frontend-only screening belongs in A3.) - A5. Differentiate read access vs write access: many protocols are read-permissionless (anyone can view state) but write-gated (only certain addresses can deposit/borrow). Record both. - A6. ToS / Legal links: locate them on the website and produce a VERBATIM quote of any jurisdictional, sanctions, or eligibility clause in evidence[].shows. If you cannot extract the clause text verbatim (SPA render failure, paywall, dead link, etc.), do NOT paraphrase or infer from general knowledge — record the ToS URL in unknowns[] with the reason extraction failed. Assertions about ToS content without a verbatim quote will be downweighted by reviewers. Then write the steel-man section per Hard Rule 11. Grade rules (admission-focused; liveness concerns belong in dependencies; source verification belongs in verifiability): - green = no contract-level whitelist/KYC on user entry/exit; no operator approval required to admit a user action; AND at least one independent A3b path exists (published SDK, third-party frontend, wallet integration, or aggregator routing). Frontend ToS posture and A3-active enforcement on the official UI do NOT block green when contracts are permissionless and an independent path exists — they are reported as context. - orange = contracts admit users unconditionally, BUT the protocol is operationally captured by the official publisher: no published SDK, no third-party frontend, no wallet integration, no aggregator routing. The contract is theoretically open but practically reachable only through the official UI. Also applies when admission requires approval from a permissioned committee that is governance-managed with a documented replacement procedure. - red = contract-level whitelist / KYC on user entry/exit, OR admission of a core user action requires approval from a single privileged operator or a small committee with no documented replacement procedure, OR enforces an on-chain blocklist updatable by a single party. - unknown = checklist incomplete after checking the sources above. Default-grade guidance: when contracts are fully permissionless AND any A3b independent path exists, the default grade is green regardless of frontend ToS or A3-active enforcement on the official UI. Frontend geo-blocking, sanctions-oracle wallet screening, and ToS sanctions clauses are publisher policies on one client and are reported in findings/headline as context, not as grade levers. To grade orange on operational-capture grounds, the auditor must affirmatively show that ALL independent paths are absent or also gated. Guideline on committees: where admission depends on a multi-operator committee, the relevant axes are (a) set size, (b) whether replacement/rotation is governed on-chain, (c) whether the replacement procedure is publicly documented. A large set with on-chain governance replacement should not be graded as a single-party operator even if rotation is not instantaneous. A small set with informal replacement should be treated as a single-party operator. --- ### Slice: VERIFIABILITY Evaluate whether an outsider can independently confirm what the deployed code does. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - V1. For each address you assess: is the bytecode verified on the chain's block explorer? Record the "Contract Source Code Verified" indicator. https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... returns this as a top-level "verified" boolean plus "abiSource" ("etherscan" / "sourcify") and an inline ABI — useful when the explorer page is rate-limited. If the contract is a proxy, verify BOTH the proxy contract AND the current implementation contract. The same /api/contract/abi response auto-resolves proxies and includes a "proxy.implementation" address when present, so one call covers V1 + V6 in one shot. An explorer "Similar Match" on a well-known proxy pattern (Aragon AppProxyUpgradeable, ERC1967Proxy, OssifiableProxy, OZ TransparentUpgradeableProxy) is expected for that pattern and does NOT count as a verification gap on its own — what matters is that the implementation is independently verified. - V2. Source-to-repo correspondence: for each verified contract, attempt to find a matching commit in the linked GitHub repos. Record evidence[].commit on a match. Independent compile/bytecode-match is NOT required for green — a recognized public repo whose structure and file contents correspond to the explorer-visible source is sufficient. If you did not pin a commit SHA or run a bytecode diff, record that plainly in unknowns[] and proceed; it is a scope limit, not a downgrade signal. - V3. Audit coverage: for each URL in protocol.audit_links, open it and record: auditor name, audit date, the specific contracts / commit in scope. Flag audits that predate the current deployment by >6 months without a follow-up review. - V4. Auditor recognition: the following firms are broadly recognized in Solidity: Trail of Bits, Zellic, Spearbit, OpenZeppelin, ConsenSys Diligence, Certora (formal verification), Quantstamp, Halborn, Peckshield, Sigma Prime, ChainSecurity, Ackee Blockchain, MixBytes, Statemind. Unknown firms are orange-at-best for any green-grade claim. Name the firm explicitly in evidence[]. - V5. Post-audit drift: compare the most recent in-scope audit(s) against the currently-deployed source, weighted by what each contract does and by what the changes actually contain. SCOPE — drift only downgrades the grade when ALL of the following hold: (i) the drifting contract is fund-custody / settlement / accounting-critical (NOT a peripheral router, lens, quoter, or pure-view contract that holds no balances); (ii) the changes are material — new functions, modified access control, modified accounting, modified fund flow — and not refactors / struct relocations / import reorgs / build or CI fixes / formatting; (iii) no later audit, fix-audit, or differential audit from a recognized firm covers the changed files (audits often pin a pre-fix commit while a follow-up reviews the delta — match by file scope, not by commit-hash equality). When you cite drift as a downgrade reason, name the specific behavior change (function added, role granted, accounting formula altered) — "N commits ahead" or "+X/-Y LOC" alone is not evidence of material drift. If you have not sampled the diff content (e.g. via the GitHub compare view or the top commits in the window), record drift as an unknowns[] entry rather than auto-downgrading; commit-count and LOC are starting signals, not findings. - V6. Implementation vs proxy: a verified proxy with an unverified implementation is effectively unverified. State whether the implementation is verified separately. EVIDENCE DISCIPLINE (read before writing findings[]): - Do not assert a specific deploy-commit SHA, bytecode equivalence, or "identical to audited commit" unless you actually fetched the artifact that shows it (e.g., a deployed-addresses JSON you opened, an explorer page you read). Inferred or plausible matches belong in unknowns[], never in findings[] or evidence[]. - Evidence[] entries must correspond to pages/files you actually retrieved this run. A URL you did not open is not evidence. Then write the steel-man section per Hard Rule 11. Grade rules: - green = deployed bytecode verified on the explorer (proxy AND implementation if proxied; "Similar Match" on a standard proxy pattern is fine per V1), a public source repo exists whose contents correspond to the explorer-visible source, AND ≥1 audit from a recognized firm covering the currently-deployed contracts (≤6 months of drift OR drift was re-audited). A missing local compile-match is not a downgrade — record it in unknowns[] and still grade green if the other conditions hold. - orange = verified but with visible drift from the public repo, OR audit scope is stale relative to deployment, OR only minor / unknown-firm audits exist, OR only some of the main contracts are verified, OR proxy verified but implementation only partially verified. - red = unverified bytecode (or verified proxy with unverified implementation), OR no audit in protocol.audit_links, OR no public repo. - unknown = reserved for when the protocol's verifiability posture genuinely cannot be assessed (e.g., explorer and repo both inaccessible for this protocol). Do NOT use unknown merely because you, the analyst, could not run a particular check such as a bytecode diff — that goes in unknowns[] while the grade is still assigned from the evidence you do have. --- ### JSON output contract Return exactly one JSON array inside a single ```json fenced block. The array MUST contain exactly five objects, one per risk slice, in this exact order: "control", "ability-to-exit", "autonomy", "open-access", "verifiability". Do not include the discovery slice. Each object has the same shape as a normal slice submission: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "<one of: control | ability-to-exit | autonomy | open-access | verifiability>", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - Produce one complete object for each of these slices only: control, ability-to-exit, autonomy, open-access, verifiability. - Reuse the same model, chat_url, snapshot_generated_at, prompt_version, analysis_date, and slug values across all five objects. - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches that object's slice checklist prefix verbatim (C1, E2, AU3, A3b, V4a, …); unknowns[] entries are checklist-coded ("C3: …"). - Wrap the array in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.
- Open source + 22 audits
Protocol publishes a GitHub repository and has at least one audit on record. This is a coarse Phase-0 signal only: auditor reputation, scope, and post-audit review coverage are not yet weighted.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: VERIFIABILITY Evaluate whether an outsider can independently confirm what the deployed code does. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - V1. For each address you assess: is the bytecode verified on the chain's block explorer? Record the "Contract Source Code Verified" indicator. https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... returns this as a top-level "verified" boolean plus "abiSource" ("etherscan" / "sourcify") and an inline ABI — useful when the explorer page is rate-limited. If the contract is a proxy, verify BOTH the proxy contract AND the current implementation contract. The same /api/contract/abi response auto-resolves proxies and includes a "proxy.implementation" address when present, so one call covers V1 + V6 in one shot. An explorer "Similar Match" on a well-known proxy pattern (Aragon AppProxyUpgradeable, ERC1967Proxy, OssifiableProxy, OZ TransparentUpgradeableProxy) is expected for that pattern and does NOT count as a verification gap on its own — what matters is that the implementation is independently verified. - V2. Source-to-repo correspondence: for each verified contract, attempt to find a matching commit in the linked GitHub repos. Record evidence[].commit on a match. Independent compile/bytecode-match is NOT required for green — a recognized public repo whose structure and file contents correspond to the explorer-visible source is sufficient. If you did not pin a commit SHA or run a bytecode diff, record that plainly in unknowns[] and proceed; it is a scope limit, not a downgrade signal. - V3. Audit coverage: for each URL in protocol.audit_links, open it and record: auditor name, audit date, the specific contracts / commit in scope. Flag audits that predate the current deployment by >6 months without a follow-up review. - V4. Auditor recognition: the following firms are broadly recognized in Solidity: Trail of Bits, Zellic, Spearbit, OpenZeppelin, ConsenSys Diligence, Certora (formal verification), Quantstamp, Halborn, Peckshield, Sigma Prime, ChainSecurity, Ackee Blockchain, MixBytes, Statemind. Unknown firms are orange-at-best for any green-grade claim. Name the firm explicitly in evidence[]. - V5. Post-audit drift: compare the most recent in-scope audit(s) against the currently-deployed source, weighted by what each contract does and by what the changes actually contain. SCOPE — drift only downgrades the grade when ALL of the following hold: (i) the drifting contract is fund-custody / settlement / accounting-critical (NOT a peripheral router, lens, quoter, or pure-view contract that holds no balances); (ii) the changes are material — new functions, modified access control, modified accounting, modified fund flow — and not refactors / struct relocations / import reorgs / build or CI fixes / formatting; (iii) no later audit, fix-audit, or differential audit from a recognized firm covers the changed files (audits often pin a pre-fix commit while a follow-up reviews the delta — match by file scope, not by commit-hash equality). When you cite drift as a downgrade reason, name the specific behavior change (function added, role granted, accounting formula altered) — "N commits ahead" or "+X/-Y LOC" alone is not evidence of material drift. If you have not sampled the diff content (e.g. via the GitHub compare view or the top commits in the window), record drift as an unknowns[] entry rather than auto-downgrading; commit-count and LOC are starting signals, not findings. - V6. Implementation vs proxy: a verified proxy with an unverified implementation is effectively unverified. State whether the implementation is verified separately. EVIDENCE DISCIPLINE (read before writing findings[]): - Do not assert a specific deploy-commit SHA, bytecode equivalence, or "identical to audited commit" unless you actually fetched the artifact that shows it (e.g., a deployed-addresses JSON you opened, an explorer page you read). Inferred or plausible matches belong in unknowns[], never in findings[] or evidence[]. - Evidence[] entries must correspond to pages/files you actually retrieved this run. A URL you did not open is not evidence. Then write the steel-man section per Hard Rule 11. Grade rules: - green = deployed bytecode verified on the explorer (proxy AND implementation if proxied; "Similar Match" on a standard proxy pattern is fine per V1), a public source repo exists whose contents correspond to the explorer-visible source, AND ≥1 audit from a recognized firm covering the currently-deployed contracts (≤6 months of drift OR drift was re-audited). A missing local compile-match is not a downgrade — record it in unknowns[] and still grade green if the other conditions hold. - orange = verified but with visible drift from the public repo, OR audit scope is stale relative to deployment, OR only minor / unknown-firm audits exist, OR only some of the main contracts are verified, OR proxy verified but implementation only partially verified. - red = unverified bytecode (or verified proxy with unverified implementation), OR no audit in protocol.audit_links, OR no public repo. - unknown = reserved for when the protocol's verifiability posture genuinely cannot be assessed (e.g., explorer and repo both inaccessible for this protocol). Do NOT use unknown merely because you, the analyst, could not run a particular check such as a bytecode diff — that goes in unknowns[] while the grade is still assigned from the evidence you do have. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "verifiability", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Core CDP contracts are immutable with no admin/owner/pause/upgrade surface; BoldToken ownership is renounced; LQTY governance only routes incentives (T4)Tentative grades
- claude-opus-4-7 (autorun) green
No quorum yet — verdict and steelman hidden until ≥3 models agree.
Evidence (10)
- C1
- BoldToken owner() returns 0x0000000000000000000000000000000000000000 — ownership has been renounced. Privileged setters setBranchAddresses() and setCollateralRegistry() are gated on onlyOwner / isOwner and so are unreachable.
- C1
- TroveManager (ETH branch) ABI exposes no owner/admin/pendingOwner/governor/proxyAdmin view methods and no setter for any pool/registry/oracle address — only constructor-time wiring via the AddressesRegistry. Its only privileged-looking external is shutdown(), which is a permissionless emergency trigger keyed on oracle failure / TCR, not an admin gate.
- C1
- BorrowerOperations (ETH branch) ABI exposes no owner/admin methods. shutdown() and shutdownFromOracleFailure() are permissionless and revert unless the oracle-failure / TCR-below-SCR conditions are met.
- C1
- CollateralRegistry has no owner/admin/governor view methods and no privileged setter — only stateless redemption-rate accounting and a single non-mutating user-callable redeemCollateral().
- C2
- All four core contracts inspected (BoldToken, TroveManager, BorrowerOperations, CollateralRegistry) declare type:'constructor' in their ABIs and expose no implementation()/admin()/upgradeTo() functions. There is no transparent / UUPS / Beacon / Diamond proxy on the user-fund path. Cores are immutable.
- C3
- EXECUTION PATH: there is no privileged execution path into the user-fund cores — the BoldToken's onlyOwner-gated setters cannot fire because owner() = 0x0, and TroveManager/BorrowerOperations/CollateralRegistry expose no admin entrypoints whatsoever. Delay on any T1/T2 path: N/A (path does not exist).
- C4
- No multisig sits on the upgrade or fund-control path of the V2 core (no admin to hold). The address-book entry labelled 'stakingV1 (governance)' (0x4f9fbb3f...) returns NAME='LQTYStaking' and references V1 contracts (LUSD, V1 TroveManager 0xA39739EF...); its owner() is also 0x0. No Safe was discovered with reach into V2 cores.
- C5
- Liquity V2 has no Governor/Bravo/OZ/Aragon-style on-chain governance over protocol parameters. The 'governance' contract listed in the docs (0x636deb76...) is the LQTY-staking-based Protocol Incentivised Liquidity (PIL) router whose initiatives (curveUsdcBoldInitiative, curveLusdBoldInitiative, defiCollectiveInitiative) only direct BOLD-funded liquidity incentives to external venues — it has no calls into TroveManager / BorrowerOperations / CollateralRegistry / BoldToken state. (Derived from the docs governance section listing only Curve gauge / pool initiatives, plus the absence of any admin entrypoint on the cores.)
- C6
- Emergency powers are permissionless: shutdown() / shutdownFromOracleFailure() can be called by anyone but only execute when on-chain conditions (oracle failure or TCR < SCR=110%) are met. There is no guardian role or emergency multisig with discretionary pause authority.
- C7
- Highest tier reachable on any privileged fast path: T4 only (PIL emissions routing to external Curve gauges and grant initiatives). T1/T2 on the user-fund cores are unreachable because the cores expose no admin functions and BoldToken ownership has been renounced.
Why is this slice uncertain?- only 1 of 3 model submissions on record — quorum requires ≥3 agreeing models
A fresh independent run can establish (or overturn) a verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: CONTROL Evaluate who can change the protocol's rules, how fast, and how broadly. (Step 0 capability probe and the off-chain-only fallback live in the preamble — those rules apply here.) ### MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]) - **C1.** For each address you assess: who is the contract owner / admin / pendingAdmin / governor — read these via the block explorer's "Read Contract" tab OR `https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=owner` (BARE method names: `&method=owner`, `&method=admin`, `&method=pendingOwner`, `&method=governor`). For Safes use `/api/safe/owners?chainId=<id>&address=0x...`. When a protocol has multiple major versions deployed (v2/v3/v4), perform C1 reads on the NEWEST deployment separately — newer deployments often have weaker control surfaces than the legacy core. - **C2.** Upgrade mechanism: transparent proxy / UUPS / Beacon / Diamond / immutable. Identify the proxy admin address. Check upgradeability of GOVERNANCE contracts too — a Governor / Aragon Voting / OZ Governor is often itself a proxy whose admin is the Timelock. Asymmetry: when fund-holding cores are immutable AND governance has no admin path that reaches them, an upgradable Governor/Timelock is T3-only and must NOT drag the verdict below green on that basis alone (see grade rules and the "immutable cores" caveat). Only call upgradability "mixed" if you can name a concrete function on the upgradable surface that reaches T1 or T2 on user funds. - **C3.** EXECUTION PATH (enumerate every stage, in order, with delays in seconds). The operative path is usually a chain (voting → scheduler → timelock → executor; or governor → queue → execute; or Aragon Voting → DualGovernance → EmergencyProtectedTimelock → AdminExecutor). For each stage, record (a) the contract address, (b) the delay constant name + value in seconds, (c) the URL you read it from (block-explorer Read Contract OR `/api/contract/read?...&method=MIN_DELAY&block=<n>`). Do NOT stop at the first timelock-shaped contract — if its admin is itself called by another contract, keep walking. The grading delay is the SUM OF DELAYS ON THE UNCONTESTED FAST PATH (shortest time a proposal with no opposition can go from submission to executable). Dynamic / contested extensions (veto signaling, rage quit, escrow delay) are modifiers, not the basis — note them separately. - **C4.** Enumerate EVERY multisig with reachable control — main proxy admin, emergency activation, emergency execution, reseal / pause, gate-seal committees, tiebreaker, per-module admins. For each Safe, fetch threshold + owners + version via `/api/safe/owners?chainId=<id>&address=0x...` (response includes raw eth_call data, so the URL is citable evidence). Enumerate ops/council/incentives multisigs even when off the upgrade path — record their scope so a reader can see they are NOT on the upgrade path. For each: (a) address, (b) threshold / total signers, (c) signer identities classified as insider (team, paid auditors under ongoing engagement, mandated service providers) vs non-insider (independent community members, unaffiliated researchers), (d) the specific power held (upgrade, pause, parameter, etc.). - **C5.** On-chain governance: Governor / GovernorBravo / OZ Governor / Aragon Voting with token-weighted voting? Record proposal threshold, voting period, quorum, and the timelock delay between queue and execute. Every numeric constant must come from a Read Contract call you can link to, or be in unknowns[] with the C-code. If votingDelay / votingPeriod are denominated in BLOCKS, convert to seconds at the chain's CURRENT block time (Ethereum mainnet ≈ 12s post-Merge, not the 15s in older Compound/Bravo deployments) — cite both block count and converted seconds. - **C6.** EMERGENCY POWERS: separate emergency-pause / guardian role with a different time cap or different actor than the main upgrade authority? Record it explicitly. - **C7.** POWER TIER (blast radius). For each privileged path in C3–C6, classify the WORST thing that path can do, choosing the highest applicable tier. Cite the specific function name and any on-chain bound — tier claims without a named function are unsupported. - **T1 — FUND-CRITICAL**: replace implementation of contracts holding user funds; change AMM math / accounting / collateral logic; mint unbacked debt or shares; pause withdrawals; drain user-fund treasury; change oracle to attacker-controlled source; replace upgrade admin with EOA. - **T2 — ECONOMICALLY MATERIAL**: change fee parameters within bounded ranges; redirect protocol fees; add/remove markets / collateral types; bounded inflation or token mint within hard-capped schedule; spend protocol-owned (non-user) treasury. - **T3 — GOVERNANCE-INTERNAL**: change voting rules, quorum, voting period, proposal threshold; upgrade the Governor itself; rotate Timelock admin; mint governance tokens within a capped annual schedule. - **T4 — OPERATIONAL**: incentives distribution, grants, ENS / frontend canonicalization, deployment coordination, periphery router deprecation. The grade is set by the HIGHEST tier reachable on the uncontested fast path, not the median. State the tier and the binding function in the verdict. ### Read Contract discipline (applies to C3, C4, C5) Every numeric constant cited (timelock delays, voting periods, multisig thresholds, quorum percentages) must come from EITHER (a) a block-explorer Read Contract URL, OR (b) a DeFiPunkd `/api/contract/read` or `/api/safe/owners` URL (preferred with `&block=<n>` for content-addressed evidence), OR (c) an unknowns[] entry with the C-code. Docs / blog posts are corroboration only — they cannot be the sole citation for a value that is also readable on-chain. ### Off-chain-only substitute hierarchy (when grading_basis="off-chain-only" — see preamble Rule 16) When on-chain reads were genuinely unreachable this run, eligible off-chain substitutes in priority order: 1. Linked audit PDFs (admin roles, multisig members, timelock delays usually enumerated). 2. Governance forum posts that quote constants from a successful on-chain proposal (cite post URL + linked execution-tx URL). 3. Official protocol docs pages with named addresses and roles (must be on a domain owned by the protocol). 4. GitHub README / SECURITY.md / governance/*.md at a pinned commit SHA. Forbidden substitutes: third-party blog posts, X / Twitter threads, search-result snippets, model memory. Required degradation: any C-code citing a numeric constant from docs/forum/audit prose ONLY must also carry an `unknowns[]` entry with `-offchain` suffix noting "value not re-read on-chain in this run; corroboration only". ### Grade rules (apply the timelock bar conditional on the highest C7 tier reachable on the fast path) Security Council standard (used below): a multisig qualifies as "Security Council" only if ALL of: ≥7 signers, ≥51% threshold, ≥50% non-insider signers, every signer publicly announced. Failing any criterion = NOT a Security Council, regardless of signer reputation. - **green**: highest reachable tier is T3 or T4 regardless of timelock; OR T2 reachable with uncontested-fast-path delay ≥7 days; OR T1 reachable only via immutable contracts (T1 is unreachable); OR T1 reachable with uncontested-fast-path delay ≥7 days combined with a Security Council multisig; OR T1 reachable with uncontested-fast-path delay ≥7 days through active on-chain governance with broad token distribution. - **orange**: T2 reachable with uncontested-fast-path delay >0 but <7 days; OR T1 reachable with uncontested-fast-path delay >0 but <7 days; OR a multisig failing one or more Security Council criteria sits on a T1/T2 path; OR unclear upgrade authority on a T1/T2 path; OR governance with very short timelock or low quorum on a T1/T2 path. - **red**: T1 reachable with no timelock by a single EOA or 2-of-3 multisig; OR a T1 upgrade admin that is not a smart contract you can audit. - **unknown**: completed the checklist but still cannot determine the upgrade authority OR cannot classify the highest tier reachable on the main contracts. Tiering caveats: - "Bounded" must be enforced ON-CHAIN to count as T2. A function that sets fees with no upper-bound check is T1 — cite the bound check. - Recurring T2 economic extraction (e.g. fee redirect with no rate limit) approaches T1 over time. A single proposal that can permanently redirect all future revenue is T1. - T3 assumes the governance contract cannot itself authorize a T1/T2 action without going through the same timelock. If governance can self-upgrade to bypass the timelock, T3 collapses into T1. - Do not downgrade tier by hand-waving ("realistically governance would never…"). Tier on what the contract permits, not what feels likely. Notes: - **Dynamic / dual-governance timelocks** (Lido, Compound escrow veto): the rubric grades on the uncontested path because that is the path most upgrades take. A dynamic extension that fires only under stake-weighted opposition is a real protection — name it in the green steel-man, but it does not lift an orange fast path into green; state the tension in the verdict. - **Immutable cores with upgradable governance** (Uniswap-style): if fund-holding contracts are immutable and have no admin-reachable function moving / freezing / re-routing user funds, the highest reachable tier on the upgrade path is T3 — green regardless of timelock. Don't grade this orange just because the Governor is a proxy — that's a C2 fact, not a downgrade. Downgrade only applies if you can cite a concrete function on the upgradable surface that reaches T1 or T2 (privileged hook, upgradable factory controlling fund-routing, fee-switch redirecting protocol revenue without bound). - **The 7-day bar** reflects the exit-window standard — users need notice after a queued upgrade to withdraw if they disagree. The ability-to-exit slice grades the exit side; this slice grades the delay side; both must hold for users to actually benefit from the delay. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "control", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Permissionless exits across all branches: no pause role, no admin key, immutable contracts; closeTrove / withdrawColl / repayBold / withdrawFromSP / claimCollateral / urgentRedemption all callable directly on-chain.Tentative grades
- claude-opus-4-7 (autorun) green
No quorum yet — verdict and steelman hidden until ≥3 models agree.
Evidence (7)
- E1
- Borrower-side exits enumerated on BorrowerOperations (ETH branch, 0x0b99…ff1c): closeTrove(uint256), withdrawColl(uint256,uint256), repayBold(uint256,uint256), claimCollateral(), adjustTrove(...) (with debt/coll decrease branch), and applyPendingDebt. Stability-Pool depositor exits on StabilityPool (0xf69e…93cf): withdrawFromSP(uint256,bool) and claimAllCollGains(). Surplus-claim path via CollSurplusPool (0x4672…ef4b).claimColl(address), which is gated to borrowerOperationsAddress and reached by users through BorrowerOperations.claimCollateral(). System-wide BOLD-holder exit: CollateralRegistry (0xd99d…f3f7).redeemCollateral(uint256,uint256,uint256), and TroveManager.urgentRedemption(...) once a branch is shut down.
- E2
- None of the four core user-facing contracts (BorrowerOperations, TroveManager, StabilityPool, CollSurplusPool) expose a paused() / isPaused() view, a pause() / unpause() write, AccessControl methods (hasRole / getRoleAdmin), or any owner / Ownable surface in their on-chain ABIs. Exit functions therefore have no pause-guard or role-gate; the only access constraint on closeTrove/withdrawColl is the trove-owner / addManager / removeManager check on the user's own NFT, and on withdrawFromSP it is the depositor's own balance.
- E3
- Pause-guard / role-holder check returns nothing to find: there is no PAUSE_ROLE / GUARDIAN / EMERGENCY_COUNCIL surface in the ABI to query. Live state read on BorrowerOperations.hasBeenShutDown() = false and TroveManager.shutdownTime() = 0 at block 25057841/42 confirms no branch is currently in shutdown mode either.
- E4
- There is no emergency-vs-governance pause distinction because there is no pause at all. The only branch-level kill-switch is shutdown(), which is callable when TCR < SCR (1.10e18 on ETH branch, read live), and shutdownFromOracleFailure(), which is callable on a price-feed failure — both are permissionless / oracle-driven, not admin-controlled. Per the Liquity V2 risk-disclosure docs, 'Liquity V2 has no manual pause, freeze, or shutdown functions.'
- E5
- There is no withdrawal queue and no daily withdrawal cap on borrower exits or Stability-Pool exits. closeTrove repays debt + returns collateral atomically; withdrawFromSP returns BOLD atomically. The ABIs of BorrowerOperations and StabilityPool show no cap / queue / cooldown view methods.
- E6
- Permissionless escape hatch in adversarial scenarios: TroveManager.urgentRedemption(uint256,uint256[],uint256) is callable by anyone once a branch is shut down (NotShutDown error otherwise), letting BOLD holders redeem 1 BOLD for ~$1.01 of collateral on the shut-down branch even with no Trove of their own. CollateralRegistry.redeemCollateral(...) is permissionless under normal operation as well.
- E7
- All exit functions are external nonpayable on-chain entry points with no frontend dependency: closeTrove/withdrawColl/claimCollateral on BorrowerOperations, withdrawFromSP/claimAllCollGains on StabilityPool, and redeemCollateral on CollateralRegistry can be called directly from Etherscan's write tab or any wallet. Hint helpers and zappers exist but are convenience layers, not gating layers — the core contract is reachable directly.
Why is this slice uncertain?- only 1 of 3 model submissions on record — quorum requires ≥3 agreeing models
A fresh independent run can establish (or overturn) a verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: ABILITY-TO-EXIT Evaluate whether users can withdraw their funds on their own terms, even under adversarial admin conditions. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - E1. Enumerate every user-facing exit function in the main contracts: withdraw, redeem, burn, requestWithdrawal, claim, exit, etc. List them by name. Do NOT treat the contract as a monolith. - E2. For EACH exit function in E1: identify its access modifiers and any pause guards (e.g. _checkResumed, whenNotPaused, onlyRole). Functions that gate REQUEST PLACEMENT often differ from functions that CLAIM FINALIZED FUNDS — check both separately. - E3. For each pause guard: identify the role holder (which address holds PAUSE_ROLE / GUARDIAN / etc.) and the maximum pause duration. Specifically check whether PAUSE_INFINITELY (or equivalent uncapped pause) is callable, and which actor can call it (single multisig vs governance vote). For role-holder reads use https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=hasRole&args=0x...,0x... or &method=getRoleAdmin&args=0x.... For "is currently paused" checks use &method=paused or &method=isPaused&args=<resume-code>. Use the BARE method name (no parens). Cite the URL with &block=<n> in evidence[]. - E4. EMERGENCY vs GOVERNANCE pause distinction: many protocols have a fast-acting emergency pause capped at N days and a slow governance pause that can be indefinite. Record both paths separately if present, with their time caps and actor classes. - E5. Queued redemption: documented maximum queue duration, daily withdrawal caps, whether the queue itself is pausable. - E6. Forced-exit / escape-hatch / permissionless emergency-exit mechanism for adversarial-admin scenarios. - E7. Frontend dependency: confirm exit functions are directly callable on-chain (e.g. via Etherscan write tab or a generic wallet) without the project's frontend. Then write the steel-man section per Hard Rule 11. Common red-vs-orange tension on this slice: indefinite pause exists (suggests red) BUT the realistic emergency path is time-capped AND claims of already-finalized exits are not pause-gated (suggests orange). Resolve this by stating who can do what for how long, not by stopping at the worst-case sentence. Grade rules: - green = permissionless exit; pause is either absent, narrowly scoped to clearly-described emergencies with auto-expiry, or capped at ≤7 days; no frontend dependency for exit; claims of already-finalized exits are not pause-gated under any path. - orange = pausable with broad scope OR indefinite pause is reachable only through governance vote (not unilateral admin action), OR queued redemption with documented max > 7 days, OR claims-of-finalized are exempt but new-request placement can be paused indefinitely by governance. - red = exit requires admin signature, OR ANY actor (including governance) can pause CLAIMS of finalized exits indefinitely, OR there is no on-chain exit function at all (purely custodial), OR pause is held by a single EOA / 2-of-3 multisig with no time cap. - unknown = checklist incomplete after checking the sources above. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "ability-to-exit", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Immutable Chainlink-only price feeds with hardcoded oracle-failure shutdown to lastGoodPrice; ~100% of TVS exposed to Chainlink mis-reports within staleness/deviation thresholds, but governance cannot swap oracles (owner=0x0) — principal bounded, ~unclaimed yield / shutdown bad-debt distortions are the residual risk.Tentative grades
- claude-opus-4-7 (autorun) orange
No quorum yet — verdict and steelman hidden until ≥3 models agree.
Evidence (11)
- A1
- All three branch PriceFeeds (ETH 0x3279…, wstETH 0x4c27…, rETH 0x93d3…) read Chainlink AggregatorV3 feeds: ETH/USD 0x5f4eC3Df…8419 (24h staleness), stETH/USD 0xCfE54B5c…b4a8 (24h staleness), and rETH/ETH 0x536218f9…2d0 (48h staleness). The wstETH and rETH PriceFeeds also read canonical exchange rates from the LST contracts (stETH 0x7f39C581… and rETH 0xae78736C…) as sanity checks, with deviation thresholds verified on-chain at 1% (STETH_USD_DEVIATION_THRESHOLD = 1e16) and 2% (RETH_ETH_DEVIATION_THRESHOLD = 2e16) respectively.
- A2
- Chainlink aggregator committees are the off-chain reporters; Liquity V2 has no protocol-internal oracle committee, exit-bus, or guardian set.
- A3
- Core CDP / mint / redeem activity is mainnet-only; BOLD is bridged to Base/Arb/OP/Scroll/Avax via canonical bridges per docs, but those L2 deployments do not carry trove-level TVL — collateral and debt accounting live on Ethereum.
- A4
- wstETH and rETH branches inherit the underlying LST's slashing / depeg risk by design; per protocol docs each collateral asset is an isolated branch with its own Stability Pool, so a failure of one LST does not propagate to other branches' borrowers — this is the borrower's opted-in underlying risk per Hard Rule guardrails.
- A5
- Liquity V2 is a from-scratch redesign by the same team as Liquity V1 (multi-collateral CDP architecture); no upstream dependency on V1 contracts other than shared LQTY/LUSD legacy tokens used in governance.
- A6
- Live on-chain fallback: MainnetPriceFeedBase has hardcoded `_disableFeedAndShutDown` that calls `borrowerOperations.shutdownFromOracleFailure(...)` and returns `lastGoodPrice` on any oracle-validity failure (stale, reverting, zero, or deviation > threshold for LST branches). Verified on-chain: priceSource()=0 (PRIMARY path active, not yet in lastGoodPrice mode) and ShutDownFromOracleFailure event in ABI on all three feeds. This is state (i) LIVE.
- A6
- Residual A6 gap: under shutdown, urgent redemptions price LST collateral at lastGoodPrice — Coinspect audit and team docs explicitly note this can leave 'bad debt' (under-redemption when lastGoodPrice > market) or over-redeem (when lastGoodPrice < market); no second-opinion oracle and no fallback to ETH/USD × canonical-rate composite was implemented (Tellor-style fallback was deliberately removed for V2).
- A7
- N/A — Ethereum L1 deployment; no protocol-owned sequencer.
- A8
- Liquidations and redemptions are permissionless and economically incentivized (Stability Pool absorbs first, then redistribution to remaining troves) — keeper failure degrades gracefully via redistribution rather than catastrophically.
- A9
- Strongest signal: all three PriceFeed contracts have owner() = 0x0000000000000000000000000000000000000000 (verified on-chain at block 25057863–25057864) and the only owner-gated write is setAddresses(address) which is one-shot. There is no admin-mutable oracle address, no upgrade path, and no module registry that would let anyone introduce a new external dependency. The 'governance' contract (interestRouter 0x636deb…) only routes interest into Curve initiatives — it does NOT have authority over the core CDP/oracle stack.
- A4-modules
- Module TVS weighting: per DeFiLlama and the on-chain CollateralRegistry totalCollaterals=3, the protocol has three branches (ETH ~50–70%, wstETH ~20–35%, rETH ~5–15% of TVS — exact figures vary). All three share the same MainnetPriceFeedBase architecture, the same shutdown-on-oracle-failure logic, and the same lastGoodPrice fallback. There is no module-specific autonomy divergence; the weighted overall grade tracks the architecture, not a single branch.
Why is this slice uncertain?- only 1 of 3 model submissions on record — quorum requires ≥3 agreeing models
A fresh independent run can establish (or overturn) a verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: AUTONOMY Evaluate this protocol's autonomy: can a failure of anything outside its own contracts cause theft or loss of user principal, loss of unclaimed yield, or materially change the protocol's expected performance? "Autonomy" is not "has zero external touchpoints" — it is "external failures are either survivable or recoverable without user loss". This slice adapts DefiScan v1's Autonomy dimension; dependencies are one of several criteria, not the whole frame. GUARDRAILS (read before grading): - Category alone (Liquid Staking, Bridge, RWA Lending, Restaking, …) does NOT force a grade. A category is a hint about where to look; the grade must come from the concrete A1–A9 findings below. - Base-chain consensus (Ethereum PoS, the chain's validator set, the canonical Deposit Contract at 0x00000000219ab540356cBB839Cbe05303d7705Fa) is the SUBSTRATE, not a dependency, for any protocol deployed on that chain. Do not list "depends on Ethereum" as a finding. - Oracles or other integrations used by DOWNSTREAM protocols that happen to read this protocol's token (e.g. Chainlink stETH/USD consumed by Aave) are NOT this protocol's dependencies. Count only what THIS protocol's contracts call or trust on-chain. If a feed or contract appears in the protocol's docs only as reference material for third-party integrators, EXCLUDE IT ENTIRELY — do not log it as a finding even with a "peripheral" or "referenced only" caveat. - "Upgradeable admin can change things" belongs to the CONTROL slice; only count it here when the upgrade surface lets governance silently swap an external dependency (see A9). - Underlying-asset risk in opt-in, isolated markets is NOT autonomy-red on its own. When a protocol wraps third-party yield-bearing assets (LSTs, LRTs, ERC-4626 vaults, lending receipts, restaked tokens) into per-market silos that users explicitly choose, a failure of one underlying does NOT propagate to other markets and is risk the user opted into per-market. Record it under A4 with depth and propagation scope, but do not let it alone drive a red verdict — red requires an external dependency that cross-cuts the protocol or that the user did not opt into at deposit time. A failure mode that is "if the LRT you deposited is hacked, your principal in that LRT-backed market is impaired" is the underlying's autonomy story, not this protocol's; grade it on whether THIS protocol introduces additional dependencies on top. - Sub-module enumeration is mandatory before grading. If the protocol ships distinct product lines or modules (e.g., a v2 core AMM plus a newer perps/funding-rate module, a lending pool plus a separate vault layer, an L1 core plus a cross-chain extension), enumerate each in findings and grade against the WORST module weighted by its share of TVS or its blast radius. A green core does not rescue an orange/red sub-module; conversely, a small red sub-module with capped TVS may bound the overall grade to orange. Name each module by its on-chain factory or router address. If you do not know whether a module exists, that is an unknowns[] entry, not silence. EXPLICIT TVS WEIGHTING: in the verdict, state each module's approximate share of total protocol TVS (use "~X%" if exact figures unavailable; check DeFiLlama or block-explorer balances on the module's main contract) and how that share informs the weighted grade. Format: "Module A holds ~X% of TVS (grade: <g>); Module B holds ~Y% (grade: <g>); weighted overall = <grade> because <reason>." If a red sub-module holds <5% of total TVS and is capped, the overall grade may be orange; if it holds >25%, the overall grade is red. Do not let qualitative reasoning substitute for the percentages — write the numbers. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. External contract calls. Enumerate every external contract the core contracts call or read from (oracles, price feeds, AMM pools, lending pools, staking/deposit contracts, yield wrappers). For each, identify the address, the provider, and what user-facing function of this protocol would break or mis-price if that external contract paused, mis-reported, or behaved adversarially. Grep for "oracle", "aggregator", "getPrice", "latestAnswer", "chainlink", "pyth", "redstone" as a starting point. To verify an oracle is live and what it currently reports, hit https://defipunkd.com/api/contract/read?chainId=<id>&address=<oracle>&method=latestAnswer (or &method=latestRoundData, &method=getPrice, &method=description; use the BARE method name without parens) and cite the URL — the response includes blockNumber/blockHash and rawReturnData, which is stronger evidence than a docs page about which feed "should" be used. - A2. Off-chain actor committees reporting INTO the protocol. Oracle committees, guardian multisigs, DAO-selected validator sets acting as protocol reporters, exit-bus signers, fraud-proof challengers. For each, record committee size, quorum, who picks the members, and what mis-reporting could do (mint, burn, finalize withdrawal, freeze). Distinguish this from governance admins (control slice). NOTE ON STAKING PROTOCOLS: validator slashing and node-operator misbehavior are properties of the base-chain substrate, NOT external dependencies, when the operator set is diversified enough that a coordinated failure caps at <5% principal loss. Count validator/operator risk under A2 ONLY if the operator set is small, non-diversified, or lacks bonding / slashing-insurance / diversification mitigations. A curated set of 30+ independent operators with documented diversification falls under the mitigated path; a 3-operator LST does not. Do not cite the protocol's own risk disclosure as evidence that operator failure = principal loss unless you also check the diversification and bond mitigations. - A3. Bridge / cross-chain messaging dependencies. Only count bridges that carry material TVL or are required for a core user flow. For each, name the bridge operator (canonical L1↔L2, LayerZero, Wormhole, Axelar, custom multisig), the trust model (canonical, optimistic, light-client, guardian set), and what fraction of TVL or users ride on it. "wstETH exists on 15 chains" is not a finding unless material TVL sits there. Before listing any non-primary chain deployment as a dependency, verify it is still operational as of analysis_date — retired or sunset deployments (e.g., Lido-on-Terra, Lido-on-Solana) belong in unknowns[] or should be omitted, never cited as a current dependency. - A4. Nested collateral / restaking chains. For restaking / LRT / receipt-of-receipt designs: record the depth of the collateral chain, every actor with slashing or freezing power at each level, and whether a failure N levels deep propagates to user principal here. - A5. Fork lineage (silent check). If DeFiLlama's forkedFrom is non-empty, record it as one finding and move on. If empty, do NOT add a placeholder finding; it adds noise. - A6. Fallback mechanisms and circuit breakers. What catches an external failure? Sanity-check contracts on oracle reports, rebase bounds, pause paths triggered by bad prices, second-opinion oracles, max-per-block throughput caps, withdrawal queues that absorb bad reports. Record which A1–A4 risks are mitigated by which fallback, and which are unmitigated. For EACH fallback you cite, state its activation status explicitly: (i) LIVE and enforcing on-chain today, (ii) DEPLOYED but not yet wired / activated (e.g., interface exists but the address is zero or the role is unassigned), or (iii) DOCUMENTED / PROPOSED only (forum post, LIP draft, audit pending). Only (i) counts as mitigation for the grade. A fallback in state (ii) or (iii) should be noted but must not reduce the risk in your steel-man or verdict. If you cannot determine activation status, add an unknowns[] entry rather than assume it is live. - A7. Sequencer / L1-liveness dependency BEYOND the base-chain substrate. SCOPE — sequencer risk only counts here when the protocol IS its own L2/L3 appchain or app-rollup, where the sequencer is part of the protocol's own stack and a freeze is a protocol-level outage. A protocol permissionlessly deployed on a third-party L2 inherits that L2's sequencer as substrate, not an A7 dependency. Record the sequencer/DA trust model when A7 applies. - A8. Keeper / relayer / off-chain bot liveness. Protocols that need permissionless-but-necessary off-chain actors (liquidation bots, auto-compounders, deposit relayers, intent solvers). Record whether the role is permissionless, what degrades if nobody runs it (yield paused, bad debt accumulates, positions go stale), and whether the failure mode is graceful or catastrophic. - A9. Governance-mutable dependency surface. Can an admin or DAO action silently INTRODUCE a NEW EXTERNAL dependency — swap the oracle address to a different provider, register a new staking module that calls an untrusted contract, add a new bridge, route SY through a new external vault — without an exit window for users? Check the upgrade / router / module-registry contracts. Answer: which EXTERNAL dependencies are governance-mutable, who holds that power, and whether there is a timelock or exit window. SCOPE LIMIT — read carefully: A9 is about the *external dependency surface*, not the upgrade surface in general. "The proxyAdmin / EOA can upgrade the router implementation to arbitrary bytecode" is a CONTROL-slice finding (admin can rug), NOT an autonomy-A9 finding. A9 fires only when the upgrade specifically swaps out or adds a contract that THIS protocol calls or trusts (e.g., changing the oracle address from Chainlink to a malicious feed, registering a new SY adapter that points to a third-party vault, redirecting a bridge endpoint). If the only finding is "admin can change implementation," do not log it under A9 and do not let it drive the autonomy grade — note it under control instead. The autonomy-relevant version of the same upgrade key is "admin can swap [specific external address X] without timelock"; that requires identifying the specific external dependency that becomes mutable. STEEL-MAN (per Hard Rule 13): write one-sentence strongest arguments for red, orange, and green using the A1–A9 findings. IMPACTED TVS ESTIMATE: the headline MUST include a rough impacted-TVS figure — the fraction of protocol TVS that could be lost or frozen if the worst-unmitigated dependency you identified failed. Use "~X%" if exact numbers are unavailable, "<1%" for de minimis, "unclear" only if A1–A9 left the question genuinely open (in which case grade=unknown is usually correct). Do NOT substitute qualitative phrases like "significant" — give a number or bracket. GRADE ANCHORS (mapped to DefiScan v1 stages): - green = Stage 2 equivalent. Failure of any external dependency cannot cause loss of user principal or unclaimed yield. Either there are no material external dependencies, or every critical one has a documented fallback (A6) that keeps users whole. Governance cannot silently introduce new dependencies without an exit window (A9). Impacted TVS under any single-dependency failure: effectively 0. - orange = Stage 1 equivalent. Failure of some external dependency can cause loss of unclaimed yield, or can materially change expected performance (pause withdrawals, freeze positions, degrade price quality), but cannot cause loss of principal. Committee-based oracles with sanity checks, canonical-only bridges, fallback paths that exist but are incomplete, or governance-mutable dependencies protected by a ≥7-day timelock. Impacted TVS is bounded and recoverable. - red = Stage 0 equivalent. Failure of an external dependency CAN cause theft or loss of principal. Examples: single-provider oracle with no sanity check or fallback, material TVL on a non-canonical bridge with a guardian multisig, governance can hot-swap oracles or add staking modules with no timelock or exit window, unmitigated keeper-liveness dependency where positions become insolvent if bots stop. Impacted TVS is material. - unknown = checklist incomplete after inspecting source + verified contracts. Prefer unknown over guessing when A1/A6 could not be reconstructed. RESERVE unknown for cases where the CORE ARCHITECTURE itself is unverifiable — not for cases where you merely cannot enumerate every per-market dependency in a multi-market protocol. If the core router/factory/oracle architecture is verifiable on-chain and you can determine whether the core requires external dependencies, grade the architecture even when an exhaustive per-market external-dependency census is infeasible. Acknowledge the per-market gap in unknowns[] but still issue a grade. Refusing to grade a multi-market protocol because you cannot list every SY/vault/market is over-use of unknown; grade the architecture and say so. PROMPT-META CHECK (per Hard Rule 17): before finalizing, verify the verdict cites concrete contract addresses, docs, or code — not the rubric itself. If your verdict says "the protocol belongs to a category the rubric marks red", rewrite it with the A1–A9 finding that actually justifies the grade, or drop to grade=unknown. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "autonomy", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links. - Liquity V2 contracts are fully permissionless with no whitelist, no admin pause, and no operator approval required to open/close/redeem; Liquity AG explicitly does not run a frontend and lists 5 independent community-operated frontends plus DeFi Saver aggregator routing.Tentative grades
- claude-opus-4-7 (autorun) green
No quorum yet — verdict and steelman hidden until ≥3 models agree.
Evidence (8)
- A1
- Neither BorrowerOperations (ETH branch) nor TroveManager (ETH branch) expose any whitelist/allowlist/role-gating modifiers on user-facing entry points. The ABIs of openTrove, addColl, withdrawColl, withdrawBold, repayBold, closeTrove, claimCollateral, adjustTrove, redeemCollateral, batchLiquidateTroves, and urgentRedemption have no role parameter and no access-control errors. The only caller-check errors (CallerNotBorrowerOperations, CallerNotPriceFeed, CallerNotTroveManager, CallerNotCollateralRegistry) enforce cross-contract integrity, not user admission.
- A2
- No off-chain operator approval is required to admit a borrower action. openTrove/closeTrove/redeemCollateral are unconditional public entry points; only price feed posting (an oracle dependency, scope of dependencies slice) is required for liquidation/redemption pricing. The shutdown() and shutdownFromOracleFailure() functions exist but are condition-gated by error types (TCRNotBelowSCR, NewOracleFailureDetected, NotShutDown), not admin-controlled — they can be triggered by anyone only when on-chain conditions are met. hasBeenShutDown()=false and shutdownTime()=0 at block 25,057,841/842, confirming the system is currently live.
- A3-passive
- ToS / Website Terms / Protocol Disclaimer pages were not extractable in this run (allowlist rejected those subpaths), so verbatim jurisdictional clauses cannot be quoted. Recorded in unknowns; per the rubric this is publisher-side context and does not move the grade given A1+A3b.
- A3-active
- Liquity AG does not operate any frontend, so there is no official UI on which to assess geo-blocking or wallet screening. Each independent frontend operator sets its own client policy; this is not a protocol-level admission control.
- A3b
- Five independent community-operated frontends are publicly listed by Liquity AG: Liquity.App, DeFi Saver (a multi-protocol DeFi dashboard run by a separate legal entity, with explicit Liquity V2 automation features), LQTY.IO, Trove Zero, and LiquityV2.com. DeFi Saver in particular is a well-known third-party aggregator/manager whose existence satisfies the 'aggregator routing' independent-path criterion. The protocol's GitHub (liquity/bold) is also publicly linked, providing the SDK/library path. This is the strongest possible A3b posture: the protocol explicitly does not have an official frontend.
- A4
- No on-chain sanctions/OFAC blocklist check appears in the BorrowerOperations or TroveManager ABIs. The protocol website explicitly states 'BOLD can never be frozen' and that minters can always withdraw their collateral.
- A5
- Read access (view methods such as getTroveStatus, getLatestTroveData, getEntireSystemColl/Debt, getTroveAnnualInterestRate) is unrestricted. Write access (openTrove, withdrawColl, etc.) is also unrestricted at the contract level; only per-trove ownership/manager permissions apply (NotBorrower, NotOwnerNorAddManager, NotOwnerNorRemoveManager errors), which are user-set delegations, not protocol gating.
- A6
- ToS verbatim quote could not be extracted (allowlist blocked /website-terms and /protocol-disclaimer). Per Hard Rule 11 this is recorded as an unknown rather than paraphrased from memory. Footer of the homepage shows 'Liquity AG, Dufourstrasse 43, 8008 Zurich, Switzerland' with links to Protocol Disclaimer / Website Terms / Privacy Policy, but the text content was not retrievable this run.
Why is this slice uncertain?- only 1 of 3 model submissions on record — quorum requires ≥3 agreeing models
A fresh independent run can establish (or overturn) a verdict.
Run your own prompt Submit run ↗### Per-protocol context (ground truth for this run) - protocol.slug: liquity-v2 - protocol.name: Liquity V2 - protocol.chains: Ethereum - protocol.category: CDP - protocol.website: https://www.liquity.org/ - protocol.github: liquity - protocol.audit_links: https://docs.liquity.org/v2-documentation/technical-resources, https://github.com/trailofbits/publications/blob/master/reviews/Liquity.pdf - snapshot.generated_at: 2026-06-01T11:27:13.878Z - analysis_date: 2026-06-08 - prompt_version: 29 - address_book: [ { "chain": "Ethereum", "address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac", "role": "interestRouter / Governance (interest distribution only — no core CDP authority)" }, { "chain": "Ethereum", "address": "0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98", "role": "token" }, { "chain": "Ethereum", "address": "0xd99de73b95236f69a559117ecd6f519af780f3f7", "role": "collateralRegistry" }, { "chain": "Ethereum", "address": "0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada", "role": "hintHelpers" }, { "chain": "Ethereum", "address": "0xa4a99f8332527a799ac46f616942dbd0d270fc41", "role": "multiTroveGetter" }, { "chain": "Ethereum", "address": "0x28c9decfacee0e796409b4b63eb263610e5e38dc", "role": "exchangeHelpers" }, { "chain": "Ethereum", "address": "0x38e1f07b954cfab7239d7acab49997fbaad96476", "role": "addressesRegistry (ETH branch)" }, { "chain": "Ethereum", "address": "0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b", "role": "activePool (ETH branch)" }, { "chain": "Ethereum", "address": "0x0b995602b5a797823f92027e8b40c0f2d97aff1c", "role": "borrowerOperations (ETH branch)" }, { "chain": "Ethereum", "address": "0x46720b3d63e38583d8f6d77d52c52df32604ef4b", "role": "collSurplusPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x075e0c707097c4c071056687b0b87cd9392c7bbd", "role": "defaultPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9", "role": "sortedTroves (ETH branch)" }, { "chain": "Ethereum", "address": "0xf69eb8c0d95d4094c16686769460f678727393cf", "role": "stabilityPool (ETH branch)" }, { "chain": "Ethereum", "address": "0x81d78814df42da2cab0e8870c477bc3ed861de66", "role": "troveManager (ETH branch)" }, { "chain": "Ethereum", "address": "0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b", "role": "troveNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375", "role": "metadataNFT (ETH branch)" }, { "chain": "Ethereum", "address": "0x3279e2b49ff60dafb276fbaff847383b67a7ec2d", "role": "priceFeed (ETH branch)" }, { "chain": "Ethereum", "address": "0xaafd627156a28153e4066cd3a062bbf9e8707c5c", "role": "gasPool (ETH branch)" }, { "chain": "Ethereum", "address": "0xd929c1927988625f834b9a39b562018cf6daeda5", "role": "wethZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x978d7188ae01881d254ad7e94874653b0c268004", "role": "leverageZapper (ETH branch)" }, { "chain": "Ethereum", "address": "0x2d4ef56cb626e9a4c90c156018ba9ce269573c61", "role": "addressesRegistry (wstETH branch)" }, { "chain": "Ethereum", "address": "0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c", "role": "activePool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x94c1610a7373919bd9cfb09ded19894601f4a1be", "role": "borrowerOperations (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f", "role": "collSurplusPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4fd6b1d48900e41710db9f219e153bb56727192b", "role": "defaultPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x15dda27e28f49c392067f285157b82c1a4539978", "role": "sortedTroves (wstETH branch)" }, { "chain": "Ethereum", "address": "0xcf46dab575c364a8b91bda147720ff4361f4627f", "role": "stabilityPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0xb47ef60132deabc89580fd40e49c062d93070046", "role": "troveManager (wstETH branch)" }, { "chain": "Ethereum", "address": "0xf7cf4efcdaacab0c3f21931501133501fff51781", "role": "troveNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0xa33980796254f1daaff5423a1951d8060da93a14", "role": "metadataNFT (wstETH branch)" }, { "chain": "Ethereum", "address": "0x4c275608887ad2eb049d9006e6852bc3ee8a00fa", "role": "priceFeed (wstETH branch)" }, { "chain": "Ethereum", "address": "0x38e721262a77637e673d756f2faf44a8363e8aea", "role": "gasPool (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3c45fc2b161d1c7f486d30442fe59975fe98c715", "role": "gasCompZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0xc3d864adc2a9b49d52e640b697241408d896179f", "role": "leverageZapper (wstETH branch)" }, { "chain": "Ethereum", "address": "0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f", "role": "addressesRegistry (rETH branch)" }, { "chain": "Ethereum", "address": "0x4b0739071d85444121b17b7d0ee23672825d7cff", "role": "activePool (rETH branch)" }, { "chain": "Ethereum", "address": "0xa351d5b9cda9eb518727c3ceff02208915fda60d", "role": "borrowerOperations (rETH branch)" }, { "chain": "Ethereum", "address": "0xc6f43d9eea6f9955038959a34ea5002f346e2cad", "role": "collSurplusPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x26b1d8571560c7942e6dd79377721be81ae817a4", "role": "defaultPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x581705163884ae5f21e946cdc9888bdcb2ed0c0a", "role": "sortedTroves (rETH branch)" }, { "chain": "Ethereum", "address": "0xc4463b26be1a6064000558a84ef9b6a58abe4f7a", "role": "stabilityPool (rETH branch)" }, { "chain": "Ethereum", "address": "0xde026433882a9dded65cac4fff8402fafff40fca", "role": "troveManager (rETH branch)" }, { "chain": "Ethereum", "address": "0xee922ebafe945b4f933cd556f8d9a006fb3b8192", "role": "troveNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x850800f3bc4a485516d3c8156ef8795c174b5b5c", "role": "metadataNFT (rETH branch)" }, { "chain": "Ethereum", "address": "0x93d3a2234e67c2ad494735cd6676fb4b79a6de97", "role": "priceFeed (rETH branch)" }, { "chain": "Ethereum", "address": "0x522efadc150d9fa30633b60c1ec45f03171f8c32", "role": "gasPool (rETH branch)" }, { "chain": "Ethereum", "address": "0x2b644ea568a574b1e61135e7694626941996d3d3", "role": "gasCompZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5", "role": "leverageZapper (rETH branch)" }, { "chain": "Ethereum", "address": "0xadb6851875b7496e3d565b754d8a79508480a203", "role": "curveUsdcBoldPool (governance)" }, { "chain": "Ethereum", "address": "0xa8bb51606db8e81f0ac964f0855c20d9e474ab63", "role": "curveUsdcBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0xa76434d58ccc9b8277180a691148a598fd073035", "role": "curveUsdcBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0x29a760138fa530d51a100171cb5ce4ddf506af2e", "role": "curveLusdBoldPool (governance)" }, { "chain": "Ethereum", "address": "0x3ac4b6da715e7963bbcfb31de39a1b139f426223", "role": "curveLusdBoldGauge (governance)" }, { "chain": "Ethereum", "address": "0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059", "role": "curveLusdBoldInitiative (governance)" }, { "chain": "Ethereum", "address": "0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690", "role": "defiCollectiveInitiative (governance)" }, { "chain": "Ethereum", "address": "0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d", "role": "stakingV1 (governance)" }, { "chain": "Ethereum", "address": "0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d", "role": "LQTYToken" }, { "chain": "Ethereum", "address": "0x5f98805a4e8be255a32880fdec7f6728c6568ba0", "role": "LUSDToken (V1)" } ] ### Pre-built read-API surfacer URLs (verbatim — fetchable as-is) - https://defipunkd.com/address/1/0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac (interestRouter / Governance (interest distribution only — no core CDP authority)) - https://defipunkd.com/address/1/0xb01dd87B29d187F3E3a4Bf6cdAebfb97F3D9aB98 (token) - https://defipunkd.com/address/1/0xd99de73b95236f69a559117ecd6f519af780f3f7 (collateralRegistry) - https://defipunkd.com/address/1/0xe3bb97ee79ac4bdfc0c30a95ad82c243c9913ada (hintHelpers) - https://defipunkd.com/address/1/0xa4a99f8332527a799ac46f616942dbd0d270fc41 (multiTroveGetter) - https://defipunkd.com/address/1/0x28c9decfacee0e796409b4b63eb263610e5e38dc (exchangeHelpers) - https://defipunkd.com/address/1/0x38e1f07b954cfab7239d7acab49997fbaad96476 (addressesRegistry (ETH branch)) - https://defipunkd.com/address/1/0xacece9a6ff7fea9b9e1cdfeee61ca2b45cc4627b (activePool (ETH branch)) - https://defipunkd.com/address/1/0x0b995602b5a797823f92027e8b40c0f2d97aff1c (borrowerOperations (ETH branch)) - https://defipunkd.com/address/1/0x46720b3d63e38583d8f6d77d52c52df32604ef4b (collSurplusPool (ETH branch)) - https://defipunkd.com/address/1/0x075e0c707097c4c071056687b0b87cd9392c7bbd (defaultPool (ETH branch)) - https://defipunkd.com/address/1/0x879474cfbb980fb6899aaaa9b5d5ee14ffbf85a9 (sortedTroves (ETH branch)) - https://defipunkd.com/address/1/0xf69eb8c0d95d4094c16686769460f678727393cf (stabilityPool (ETH branch)) - https://defipunkd.com/address/1/0x81d78814df42da2cab0e8870c477bc3ed861de66 (troveManager (ETH branch)) - https://defipunkd.com/address/1/0x84ed456a8074652130dfc4fe1fadb140e0f8ce2b (troveNFT (ETH branch)) - https://defipunkd.com/address/1/0x05e6a5aa1c0dfefe83a8df37f1a9fa0c17c5f375 (metadataNFT (ETH branch)) - https://defipunkd.com/address/1/0x3279e2b49ff60dafb276fbaff847383b67a7ec2d (priceFeed (ETH branch)) - https://defipunkd.com/address/1/0xaafd627156a28153e4066cd3a062bbf9e8707c5c (gasPool (ETH branch)) - https://defipunkd.com/address/1/0xd929c1927988625f834b9a39b562018cf6daeda5 (wethZapper (ETH branch)) - https://defipunkd.com/address/1/0x978d7188ae01881d254ad7e94874653b0c268004 (leverageZapper (ETH branch)) - https://defipunkd.com/address/1/0x2d4ef56cb626e9a4c90c156018ba9ce269573c61 (addressesRegistry (wstETH branch)) - https://defipunkd.com/address/1/0x2fcf4e86594aadd744f82fd80d5da9b72ab50d7c (activePool (wstETH branch)) - https://defipunkd.com/address/1/0x94c1610a7373919bd9cfb09ded19894601f4a1be (borrowerOperations (wstETH branch)) - https://defipunkd.com/address/1/0xc8e5bda2efc25f04d5feb56eee80e3d8af74cb7f (collSurplusPool (wstETH branch)) - https://defipunkd.com/address/1/0x4fd6b1d48900e41710db9f219e153bb56727192b (defaultPool (wstETH branch)) - https://defipunkd.com/address/1/0x15dda27e28f49c392067f285157b82c1a4539978 (sortedTroves (wstETH branch)) - https://defipunkd.com/address/1/0xcf46dab575c364a8b91bda147720ff4361f4627f (stabilityPool (wstETH branch)) - https://defipunkd.com/address/1/0xb47ef60132deabc89580fd40e49c062d93070046 (troveManager (wstETH branch)) - https://defipunkd.com/address/1/0xf7cf4efcdaacab0c3f21931501133501fff51781 (troveNFT (wstETH branch)) - https://defipunkd.com/address/1/0xa33980796254f1daaff5423a1951d8060da93a14 (metadataNFT (wstETH branch)) - https://defipunkd.com/address/1/0x4c275608887ad2eb049d9006e6852bc3ee8a00fa (priceFeed (wstETH branch)) - https://defipunkd.com/address/1/0x38e721262a77637e673d756f2faf44a8363e8aea (gasPool (wstETH branch)) - https://defipunkd.com/address/1/0x3c45fc2b161d1c7f486d30442fe59975fe98c715 (gasCompZapper (wstETH branch)) - https://defipunkd.com/address/1/0xc3d864adc2a9b49d52e640b697241408d896179f (leverageZapper (wstETH branch)) - https://defipunkd.com/address/1/0x3b48169809dd827f22c9e0f2d71ff12ea7a94a2f (addressesRegistry (rETH branch)) - https://defipunkd.com/address/1/0x4b0739071d85444121b17b7d0ee23672825d7cff (activePool (rETH branch)) - https://defipunkd.com/address/1/0xa351d5b9cda9eb518727c3ceff02208915fda60d (borrowerOperations (rETH branch)) - https://defipunkd.com/address/1/0xc6f43d9eea6f9955038959a34ea5002f346e2cad (collSurplusPool (rETH branch)) - https://defipunkd.com/address/1/0x26b1d8571560c7942e6dd79377721be81ae817a4 (defaultPool (rETH branch)) - https://defipunkd.com/address/1/0x581705163884ae5f21e946cdc9888bdcb2ed0c0a (sortedTroves (rETH branch)) - https://defipunkd.com/address/1/0xc4463b26be1a6064000558a84ef9b6a58abe4f7a (stabilityPool (rETH branch)) - https://defipunkd.com/address/1/0xde026433882a9dded65cac4fff8402fafff40fca (troveManager (rETH branch)) - https://defipunkd.com/address/1/0xee922ebafe945b4f933cd556f8d9a006fb3b8192 (troveNFT (rETH branch)) - https://defipunkd.com/address/1/0x850800f3bc4a485516d3c8156ef8795c174b5b5c (metadataNFT (rETH branch)) - https://defipunkd.com/address/1/0x93d3a2234e67c2ad494735cd6676fb4b79a6de97 (priceFeed (rETH branch)) - https://defipunkd.com/address/1/0x522efadc150d9fa30633b60c1ec45f03171f8c32 (gasPool (rETH branch)) - https://defipunkd.com/address/1/0x2b644ea568a574b1e61135e7694626941996d3d3 (gasCompZapper (rETH branch)) - https://defipunkd.com/address/1/0x7d5f19a1e48479a95c4eb40fd1a534585026e7e5 (leverageZapper (rETH branch)) - https://defipunkd.com/address/1/0xadb6851875b7496e3d565b754d8a79508480a203 (curveUsdcBoldPool (governance)) - https://defipunkd.com/address/1/0xa8bb51606db8e81f0ac964f0855c20d9e474ab63 (curveUsdcBoldGauge (governance)) - https://defipunkd.com/address/1/0xa76434d58ccc9b8277180a691148a598fd073035 (curveUsdcBoldInitiative (governance)) - https://defipunkd.com/address/1/0x29a760138fa530d51a100171cb5ce4ddf506af2e (curveLusdBoldPool (governance)) - https://defipunkd.com/address/1/0x3ac4b6da715e7963bbcfb31de39a1b139f426223 (curveLusdBoldGauge (governance)) - https://defipunkd.com/address/1/0x4347d2d28a3428ddf1b7cfc7f097b2128a1a0059 (curveLusdBoldInitiative (governance)) - https://defipunkd.com/address/1/0xdc6f869d2d34e4aee3e89a51f2af6d54f0f7f690 (defiCollectiveInitiative (governance)) - https://defipunkd.com/address/1/0x4f9fbb3f1e99b56e0fe2892e623ed36a76fc605d (stakingV1 (governance)) - https://defipunkd.com/address/1/0x6dea81c8171d0ba574754ef6f8b412f2ed88c54d (LQTYToken) - https://defipunkd.com/address/1/0x5f98805a4e8be255a32880fdec7f6728c6568ba0 (LUSDToken (V1)) --- You are contributing a single-slice assessment to defipunkd, a git-native transparency registry for DeFi protocols. Your JSON output will be attached to a pull request and compared against ≥2 other independent runs. Disagreements are surfaced publicly — be conservative, cite everything, return grade="unknown" when a signal cannot be determined, and resist stopping at the first damning finding. ### Per-protocol context (do not infer; these are ground truth) A "Per-protocol context" block (provided alongside this prompt — either as a user message in API mode, or as a section appended below in copy-paste mode) lists the pinned inputs (protocol.slug, name, chains, category, website, github, audit_links, snapshot.generated_at, analysis_date, prompt_version, address_book) and a list of pre-built read-API surfacer URLs for each pinned address. Treat those values as authoritative for this run. The pre-built surfacer URLs are accepted by your fetch tool's allowlist because they appear verbatim in the per-protocol context. Each surfacer page pre-executes the contract's zero-arg view methods and renders any address-typed return values as /address/{chainId}/0x… links inline — those rendered links are also fetchable post-fetch. /api/contract/read and /api/safe/owners JSON responses include a top-level `crawl.surfacers` array of /address/{chainId}/0x… URLs for every address-typed value in the result, so you can crawl directly from API responses. For addresses surfaced from non-defipunkd sources (block-explorer pages, GitHub, audit PDFs), the allowlist will reject your generated surfacer URL — record the address in protocol_metadata.admin_addresses and add a checklist-coded entry to unknowns[]; the next run will inherit it as a fetchable surfacer. ### Step 0 — Capability probe (do this before producing JSON) Identify what fetch tool your environment exposes — `web_fetch`, `browser`, `url_context`, `google_search` (with underscore, colon, or space), Bing grounding, Perplexity, `web.run`, or anything similar. Search-grounding tools ARE valid fetch paths and you should use them; they are not forbidden. The distinction that matters is what the tool returned, not its name: a grounded response with the underlying page body is sufficient evidence; a bare 1–3-line preview snippet is not. Probe: attempt one fetch of `protocol.website` and one fetch of a pre-built surfacer URL above (or the protocol's primary block-explorer page if no surfacer is pinned). Record the tool you used, the URL, and what came back (response body, HTTP status, allowlist rejection text, or "tool not present: <name>"). If either probe succeeded, proceed. If both direct probes failed, **DO NOT STOP** — try search. Issue at least two broad search queries (protocol name + "Etherscan" / "official docs" / "GitHub" / "audit"; `site:` operators against etherscan.io / github.com / the docs domain). If a search query returns the underlying page body, that page URL is fetched evidence and goes in evidence[]. Set `grading_basis: "off-chain-only"` and continue with whatever you can extract. Empty `evidence[]` + `grade="unknown"` is only valid if BOTH direct probes AND ≥2 search queries returned nothing usable; in that case, log the attempted queries and observed-zero outcomes in unknowns[]. A submission claiming "blocked" without those receipts is treated as a non-submission (zero quorum weight). Search engines do not index raw JSON API endpoints — zero results for `defipunkd.com/api/contract/read` URLs is expected and is itself a recordable failure mode, not a system restriction. ### Anti-fabrication (the most important rule on this page) Memory is not evidence. Treat your training data, prior conversations, and general knowledge as suggestions for what to look up — never as citations. Every URL in evidence[] must have been fetched in this run via any tool exposed in your environment, OR pasted into this conversation by the user. Constructing a URL is fine, but every variable part (address, commit SHA, repo path, contract name, method, args, block number) must come from a fetched/pasted source in this run, and the URL must then have been successfully fetched before it appears in evidence[]. URLs constructed from remembered addresses, repo paths, contract names, or guessed API methods are fabrication. Before emitting JSON, run an evidence ledger check on every evidence[] entry: 1. The exact URL appears in your fetch transcript or in a user-pasted source body. 2. The fetched/pasted body contains the fact you're citing in evidence[].shows. 3. Every rationale.findings / protocol_metadata claim that depends on this evidence follows directly from that body, without recourse to memory. 4. Derived (rather than verbatim) claims are explicitly labelled as derived in evidence[].shows. 5. `fetched_at` is set ONLY when you actually fetched the URL in this run; if no timestamp is available, omit the field — never invent one. If any check fails, remove the evidence entry and demote dependent claims to unknowns[]. Set grade="unknown" if demotion empties the grading basis. Do not ask the user to paste anything; do not withhold JSON; do not improvise from memory. A plausible-sounding answer backed by unsupported evidence is WORSE than grade="unknown" — it pollutes the quorum. If the assessment requires leaning on remembered public facts ("Lido is governed by LDO token-weighted voting"), historical reports, common knowledge, or likely-architecture reasoning ("UUPS proxies typically have an admin role"), return grade="unknown" with specific unknowns[] entries. Optimize for reproducibility, not completeness — if a reviewer can't re-verify each claim from the evidence URLs alone, the claim does not belong in the JSON. Empty unknowns[] on a non-trivial protocol is a red flag, not a quality signal. When the address_book is null/empty, you do not yet know any deployed address. Discover candidates from fetched website / GitHub / audit / explorer-search pages — addresses you "remember" from training data are not eligible, even for famous tokens (USDC, WBTC, stETH, UNI). If no address can be discovered after a good-faith attempt, return grade="unknown" with checklist-coded unknowns[] entries; do not invent addresses to fill the gap. ### Hard rules 1. Source classes that count as evidence: a) Public block explorers (etherscan.io, basescan.org, arbiscan.io, optimistic.etherscan.io, polygonscan.com, bscscan.com, snowtrace.io, scrollscan.com, lineascan.build, blastscan.io, era.zksync.network) for pinned addresses or addresses you discover transitively from them. b) The linked GitHub repos, at a specific commit SHA recorded in evidence[].commit. c) The audit PDFs / reports linked above. d) DeFiLlama's pinned fields (for category / chain lists only — not for risk assessment). e) DeFiPunkd's read API at https://defipunkd.com/api/{contract,safe}/... — see "On-chain reading" below. 2. If a signal cannot be determined after checking these, set grade="unknown" with ≥1 entry in unknowns[] naming what you looked for. 3. Every factual claim in rationale must map to ≥1 evidence[] entry. 4. Output exactly one JSON object matching the contract at the end, wrapped in a single ```json fenced code block. This rule applies to your FINAL assistant message only — issue tool calls freely during the run; tool-call reasoning lives in your model's tool-use channel and is not subject to this rule. Nothing before or after the fence — no prose, no follow-up questions, no requests for the user to paste anything. If evidence is incomplete, the correct response is still JSON, with claims demoted to unknowns[] and grade="unknown". ### Format rules (validation will reject submissions that violate these) 5. evidence[].url must be a bare `https://...` string — NEVER markdown link syntax. WRONG: `"url": "[Etherscan](https://etherscan.io/...)"`. RIGHT: `"url": "https://etherscan.io/..."`. 6. evidence[].commit, when present, must match `^[0-9a-f]{7,40}$` (lowercase hex, 7–40 chars). NEVER branch names or tags. Omit if you cannot pin a SHA. 7. evidence[].fetched_at, when present, must be ISO-8601 UTC (e.g. `2026-04-23T11:20:00Z`). Set whenever you actually fetched in this run. 8. evidence[].address, when present, must be `^0x[0-9a-fA-F]{40}$` (mixed case OK; checksum not validated). 9. Checklist codes (used in findings[].code and as unknowns[] prefixes) match `^[A-Z][A-Za-z0-9-]{0,16}$` — start with an uppercase letter, then digits / letters / hyphens. Examples: `E1`, `A3b`, `C2-emergency`, `V4-auditor`. No parens, spaces, dots, slashes, underscores. Use slice-defined codes verbatim. unknowns[] entries must be prefixed with the relevant code + colon (e.g. `"A3b: frontend fetch failed"`). 10. chat_url: ALWAYS null. Default share links (claude.ai/chat, chatgpt.com, gemini.google.com) require viewer login and are not publicly readable. The user enables "Share publicly" after you respond and pastes the public URL into the JSON before opening the PR. ### Thoroughness rules 11. Each per-slice body contains a "MANDATORY INSPECTION CHECKLIST". Every item must EITHER produce an evidence[] entry OR a specific unknowns[] entry naming it by code. Silent skips are rejected as incomplete. 12. Before assigning a grade other than "unknown", rationale.steelman must contain a one-sentence strongest argument for each of red / orange / green, and rationale.verdict must state which fits the evidence and why. If the steel-man for the chosen grade is weaker than for an adjacent grade, you have probably picked the wrong grade. When grade="unknown", set steelman to null and use verdict to summarize what blocked the assessment. 13. Distinguish actor classes (EOA, 2-of-3 multisig, 4-of-7+ multisig with identified signers, emergency-scoped time-capped multisig, on-chain governance vote with timelock) and function classes (claim-of-finalized vs new-request-placement, deposit vs borrow, mint vs redeem) — say which actor holds which power, on what time bound. "An admin can pause" is insufficient. 14. For on-chain slices (control, ability-to-exit, autonomy, verifiability), evidence[] must include ≥1 on-chain URL: a block-explorer URL OR a DeFiPunkd /api/{contract/read,safe/owners} URL (preferred — content-addressed when block-pinned). /api/contract/abi alone is metadata, not on-chain evidence. Source repos tell you what code SHOULD do; deployed contracts tell you what it ACTUALLY does. The "open-access" slice is exempt when claims are entirely about frontend / off-chain operator behavior. CARVE-OUT: `grading_basis="off-chain-only"` is exempt from this rule but is downweighted by the quorum bot regardless of grade. 15. Prompt-meta-check: if your verdict quotes prompt language as evidence ("the protocol meets the 'documented fallback' condition"), re-do the verdict — the prompt describes the rubric, not the protocol. Evidence cites what THIS protocol does, not what the rubric says protocols of type X do. 16. `grading_basis` is one of `"on-chain"` (default; omit field), `"off-chain-only"`, or `"mixed"`. Describes what was READ this run, not the verdict — `grade="unknown"` is allowed under any basis. Set `"off-chain-only"` ONLY when BOTH (a) ≥1 successful fetch of a docs / forum / audit / GitHub URL appears in evidence[], AND (b) ≥1 failed on-chain fetch attempt for THIS run is recorded in unknowns[] with a `-offchain` suffix. Empty `evidence[]` with `"off-chain-only"` is a category error and is rejected by the validator. Set `"mixed"` when some checklist codes were on-chain and others fell back. ABI-only finds (you read the ABI but couldn't read live state) are valid as `grade="unknown"` with the ABI cited; do not infer a grade from ABI shape alone. ### On-chain reading via the DeFiPunkd API Don't encode calldata, decode return data, or guess at ABIs by hand. Three deterministic GET endpoints return JSON with blockNumber, blockHash, raw calldata, and rawReturnData — content-addressed when block-pinned (`&block=<n>`): ABI (auto-resolves proxies): https://defipunkd.com/api/contract/abi?chainId=<id>&address=0x... View call (any view method on the merged ABI; flat scalar args): https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=getOwners https://defipunkd.com/api/contract/read?chainId=<id>&address=0x...&method=balanceOf&args=0x... Safe (threshold + owners + version in one call): https://defipunkd.com/api/safe/owners?chainId=<id>&address=0x... Use the BARE method name in `&method=` (e.g. `&method=totalSupply`, NOT `&method=totalSupply()`). Browser tools normalize `(` to `%28` and reject the normalized URL; bare names dodge that. Pass arguments via `&args=` (comma-separated, declaration order). Append `&block=<n>` for content-addressed evidence. Supported chainIds: 1 (ethereum), 10 (optimism), 56 (bsc), 130 (unichain), 137 (polygon), 324 (zksync), 8453 (base), 42161 (arbitrum), 43114 (avalanche), 59144 (linea), 81457 (blast), 534352 (scroll), 11155111 (sepolia). Use this API for any factual claim about contract ABI shape, view-method return values (owner(), getOwners(), getThreshold(), totalSupply(), implementation(), paused(), MIN_DELAY(), …), and Safe membership. Do NOT invent ABIs or return values from training data. Note on noisy address_book: the pinned address_book is sourced from prior assessments. It may include token deployments, oracle feeds, peripheral contracts, or mis-classified entries. Skip surfacer URLs that don't fit your slice — fetch only those whose role hints suggest control / pause / upgrade authority. ### Protocol metadata refresh (populate `protocol_metadata` in the output) DeFiLlama's pinned inputs may be stale or wrong. As a side-effect of this assessment, populate `protocol_metadata` with anything you verify. Leave fields null / empty arrays if you did not verify them — do NOT echo pinned inputs through; null means "not re-verified this run". - `github`: array of canonical source-code repo URLs. - `docs_url`: canonical developer / protocol documentation site. - `audits`: array of `{ firm, url, date }` (date as YYYY-MM or YYYY-MM-DD). - `governance_forum`: primary discussion forum URL (Discourse, Commonwealth, etc.). - `voting_token`: `{ chain, address, symbol }` or null. Omit if not token-governed. - `bug_bounty_url`: public bug bounty page (Immunefi, HackerOne, self-hosted). - `security_contact`: private-disclosure channel — security@ email or SECURITY.md URL. Distinct from public bug bounty. - `deployed_contracts_doc`: docs page that lists deployed addresses per chain. Don't enumerate; just link. - `admin_addresses`: array of `{ chain, address, role, actor_class }` for multisig / timelock / owner / proxy-admin addresses. `actor_class` ∈ `"eoa" | "multisig" | "timelock" | "governance" | "unknown"`. These are the anchors for future runs' address_book. - `upgradeability`: `"immutable" | "upgradeable" | "mixed" | "unknown"`. "mixed" = some core contracts immutable, others behind proxies. - `about`: 2–4 sentence plain-English description. Name the user action (stake, borrow, swap, bridge, mint, redeem), the asset / market, and the distinctive mechanism (liquid staking receipt, isolated lending pools, constant-product AMM, intents auction, etc.). Do not restate category / chains / TVL. Every non-null field in `protocol_metadata` must be backed by ≥1 entry in evidence[]. --- ### Slice: OPEN-ACCESS Evaluate who is allowed to use the protocol and whether any of that permission is granted off-chain. Scope: this slice is about ADMISSION — who can enter, exit, or transact. Operator LIVENESS (what breaks if keepers/oracles go offline) is assessed in the dependencies slice and is out of scope for the grade here. You may note operator dependencies as context, but do not let "the protocol halts if operator X disappears" drive the access grade on its own; that belongs in dependencies. Source verification / contract verification on block explorers is assessed in the verifiability slice and is out of scope here — do NOT let "contract is unverified" drive the access grade. Framing: the smart contracts are the access layer; frontends are UX. A permissionless contract is reachable by any client (SDK, third-party UI, aggregator, wallet integration). Frontend ToS, IP geo-blocking, and wallet screening are publisher policies on one specific client — they are reported as context but do NOT determine the grade. The grade hinges on (1) what the contract itself permits, and (2) whether the protocol is practically reachable without the official publisher's cooperation. Meta-check before finalizing: if your verdict cites phrases from this prompt as evidence ("the protocol meets the 'credible alternatives' condition", "this fits the 'documented fallback' rule"), redo the verdict. The prompt describes the rubric; evidence must come from the protocol. A verdict should cite what the protocol does, not what the rubric says. MANDATORY INSPECTION CHECKLIST (every item below must appear in evidence[] OR unknowns[]): - A1. Whitelist / allowlist modifiers in user-facing entry points. Grep for "onlyWhitelisted", "onlyRole", "allowlist", "isAccredited", "isKYCed". Note which functions are gated and who can add/remove from the list. - A2. Off-chain operators in the admission path: keepers, sequencers, privileged relayers, oracle posters whose approval is required to admit a user action (not just to keep the protocol live). For each, identify whether the role is held by a single operator, a permissioned committee, or is permissionless. Enumerate per user-facing function class (deposit vs withdraw-request vs claim-finalized vs transfer) which ones require operator approval to be admitted, and which ones admit users unconditionally. A function whose placement is unconditional but whose downstream settlement depends on an operator is an admission-permissionless function — flag the liveness dependency as context and defer its grading weight to the dependencies slice. - A3. Frontend restrictions on the official interface — record as context, not as a grade lever. Distinguish: - A3-passive: boilerplate ToS clauses (sanctions attestation, restricted-territory self-certification, VPN-circumvention prohibition, "comply with applicable law" eligibility, age of majority). - A3-active: runtime enforcement — IP-based geo-blocking, wallet-address screening against a sanctions oracle (Chainalysis, TRM, Elliptic), KYC wall, rendering-blocking jurisdiction banner. Record findings under the correct tier. Quote ToS text or banner text in evidence[].shows. These findings populate the headline and rationale but do NOT move the grade by themselves; the grade is set by A1, A2, and the A3b path check below. - A3b. Independent access paths (the operative grade input). Enumerate paths that do not require the official publisher's cooperation: - Published SDK / library / CLI for direct contract interaction. - Third-party frontends operated by separate legal entities. - Wallet-integrated access (MetaMask Swaps, Safe apps, etc.). - DEX / lending / yield aggregators that route through the contracts. Record at least one concrete link per path that exists. The protocol does NOT have to self-document these — the test is existence, not UX cost. An A3b-i redistribution of the official UI bound by the same ToS does NOT count as an independent path. - A4. Sanctions / compliance tooling at the contract level: does the protocol check addresses against OFAC lists or similar on-chain blocklists in the contract itself? (Frontend-only screening belongs in A3.) - A5. Differentiate read access vs write access: many protocols are read-permissionless (anyone can view state) but write-gated (only certain addresses can deposit/borrow). Record both. - A6. ToS / Legal links: locate them on the website and produce a VERBATIM quote of any jurisdictional, sanctions, or eligibility clause in evidence[].shows. If you cannot extract the clause text verbatim (SPA render failure, paywall, dead link, etc.), do NOT paraphrase or infer from general knowledge — record the ToS URL in unknowns[] with the reason extraction failed. Assertions about ToS content without a verbatim quote will be downweighted by reviewers. Then write the steel-man section per Hard Rule 11. Grade rules (admission-focused; liveness concerns belong in dependencies; source verification belongs in verifiability): - green = no contract-level whitelist/KYC on user entry/exit; no operator approval required to admit a user action; AND at least one independent A3b path exists (published SDK, third-party frontend, wallet integration, or aggregator routing). Frontend ToS posture and A3-active enforcement on the official UI do NOT block green when contracts are permissionless and an independent path exists — they are reported as context. - orange = contracts admit users unconditionally, BUT the protocol is operationally captured by the official publisher: no published SDK, no third-party frontend, no wallet integration, no aggregator routing. The contract is theoretically open but practically reachable only through the official UI. Also applies when admission requires approval from a permissioned committee that is governance-managed with a documented replacement procedure. - red = contract-level whitelist / KYC on user entry/exit, OR admission of a core user action requires approval from a single privileged operator or a small committee with no documented replacement procedure, OR enforces an on-chain blocklist updatable by a single party. - unknown = checklist incomplete after checking the sources above. Default-grade guidance: when contracts are fully permissionless AND any A3b independent path exists, the default grade is green regardless of frontend ToS or A3-active enforcement on the official UI. Frontend geo-blocking, sanctions-oracle wallet screening, and ToS sanctions clauses are publisher policies on one client and are reported in findings/headline as context, not as grade levers. To grade orange on operational-capture grounds, the auditor must affirmatively show that ALL independent paths are absent or also gated. Guideline on committees: where admission depends on a multi-operator committee, the relevant axes are (a) set size, (b) whether replacement/rotation is governed on-chain, (c) whether the replacement procedure is publicly documented. A large set with on-chain governance replacement should not be graded as a single-party operator even if rotation is not instantaneous. A small set with informal replacement should be treated as a single-party operator. --- ### JSON output contract Return exactly one JSON object inside a single ```json fenced block. Shape: { "schema_version": 4, "slug": "<copy protocol.slug from the per-protocol context>", "slice": "open-access", "snapshot_generated_at": "<copy snapshot.generated_at from the per-protocol context>", "prompt_version": 29, "analysis_date": "<copy analysis_date from the per-protocol context>", "model": "<exact model name, e.g. claude-opus-4-7 / gpt-5-thinking / gemini-3-pro>", "chat_url": null, "grading_basis": "on-chain | off-chain-only | mixed (optional; omit for on-chain)", "grade": "green | orange | red | unknown", "headline": "<one-line summary>", "short_headline": "<≤6 words, ≤80 chars; omit if you can't fit>", "rationale": { "findings": [{ "code": "E1", "text": "<concrete, source-cited finding>" }], "steelman": { "red": "<one sentence>", "orange": "<one sentence>", "green": "<one sentence>" }, "verdict": "Choosing <grade> because <reason ranking one steel-man above the others, citing specific evidence>." }, "evidence": [{ "url": "https://...", "shows": "<what this URL demonstrates>", "chain": "...", "address": "0x...", "commit": "<hex SHA>", "fetched_at": "2026-04-23T11:20:00Z" }], "unknowns": ["E3: <thing you looked for but couldn't determine>"], "protocol_metadata": { "github": ["https://github.com/org/repo"], "docs_url": "https://docs.protocol.xyz", "audits": [{ "firm": "Trail of Bits", "url": "https://...report.pdf", "date": "2025-09" }], "governance_forum": "https://forum.protocol.xyz", "voting_token": { "chain": "Ethereum", "address": "0x...", "symbol": "XYZ" }, "bug_bounty_url": "https://immunefi.com/bounty/protocol", "security_contact": "security@protocol.xyz", "deployed_contracts_doc": "https://docs.protocol.xyz/deployments", "admin_addresses": [{ "chain": "Ethereum", "address": "0x...", "role": "DAO treasury multisig", "actor_class": "multisig" }], "upgradeability": "immutable | upgradeable | mixed | unknown", "about": "<2–4 sentences>" } } Rules recap: - grade="unknown" ⇒ steelman=null; unknowns[] ≥1; evidence[] may be empty. - grade!="unknown" ⇒ steelman={red,orange,green}; evidence[] ≥1; verdict starts with "Choosing ". - findings[].code matches the slice's checklist prefix verbatim (E1, C2-emergency, V4a, …); unknowns[] entries are checklist-coded ("E3: …"). - Wrap in a single ```json fence; nothing before or after. URLs are bare strings, never markdown links.
Stage
Preview of the Phase-3 maturity framework. DeFiPunk'd will adopt DeFiScan v2's stages verbatim; the section is rendered below in its intended shape so the structure is visible today.
Scope of assessment
Stage 0 requirements pending
Stage 1 requirements pending
Stage 2 requirements pending
Contract surface
Every contract in scope for this protocol — pooled from DeFiLlama's TVL adapter (mechanical) and DEFI@home discovery submissions (LLM-curated). Verified-source flags come from Etherscan + Sourcify; owner / multisig metadata is read on-chain when available. Reviewer audit context, not a slice score. A lending protocol's adapter set will list third-party collateral tokens alongside its own contracts; attribution is the grader's job.
- 58addresses
- 0verified source
- 0proxies
| Ethereum | activePool (ETH branch) | 0xacec…627b | discovery | — | — | — | — |
| Ethereum | activePool (rETH branch) | 0x4b07…7cff | discovery | — | — | — | — |
| Ethereum | activePool (wstETH branch) | 0x2fcf…0d7c | discovery | — | — | — | — |
| Ethereum | addressesRegistry (ETH branch) | 0x38e1…6476 | discovery | — | — | — | — |
| Ethereum | addressesRegistry (rETH branch) | 0x3b48…4a2f | discovery | — | — | — | — |
| Ethereum | addressesRegistry (wstETH branch) | 0x2d4e…3c61 | discovery | — | — | — | — |
| Ethereum | borrowerOperations (ETH branch) | 0x0b99…ff1c | discovery | — | — | — | — |
| Ethereum | borrowerOperations (rETH branch) | 0xa351…a60d | discovery | — | — | — | — |
| Ethereum | borrowerOperations (wstETH branch) | 0x94c1…a1be | discovery | — | — | — | — |
| Ethereum | collateralRegistry | 0xd99d…f3f7 | discovery | — | — | — | — |
| Ethereum | collSurplusPool (ETH branch) | 0x4672…ef4b | discovery | — | — | — | — |
| Ethereum | collSurplusPool (rETH branch) | 0xc6f4…2cad | discovery | — | — | — | — |
| Ethereum | collSurplusPool (wstETH branch) | 0xc8e5…cb7f | discovery | — | — | — | — |
| Ethereum | curveLusdBoldGauge (governance) | 0x3ac4…6223 | discovery | — | — | — | governance |
| Ethereum | curveLusdBoldInitiative (governance) | 0x4347…0059 | discovery | — | — | — | governance |
| Ethereum | curveLusdBoldPool (governance) | 0x29a7…af2e | discovery | — | — | — | governance |
| Ethereum | curveUsdcBoldGauge (governance) | 0xa8bb…ab63 | discovery | — | — | — | governance |
| Ethereum | curveUsdcBoldInitiative (governance) | 0xa764…3035 | discovery | — | — | — | governance |
| Ethereum | curveUsdcBoldPool (governance) | 0xadb6…a203 | discovery | — | — | — | governance |
| Ethereum | defaultPool (ETH branch) | 0x075e…7bbd | discovery | — | — | — | — |
| Ethereum | defaultPool (rETH branch) | 0x26b1…17a4 | discovery | — | — | — | — |
| Ethereum | defaultPool (wstETH branch) | 0x4fd6…192b | discovery | — | — | — | — |
| Ethereum | defiCollectiveInitiative (governance) | 0xdc6f…f690 | discovery | — | — | — | governance |
| Ethereum | exchangeHelpers | 0x28c9…38dc | discovery | — | — | — | — |
| Ethereum | gasCompZapper (rETH branch) | 0x2b64…d3d3 | discovery | — | — | — | — |
| Ethereum | gasCompZapper (wstETH branch) | 0x3c45…c715 | discovery | — | — | — | — |
| Ethereum | gasPool (ETH branch) | 0xaafd…7c5c | discovery | — | — | — | — |
| Ethereum | gasPool (rETH branch) | 0x522e…8c32 | discovery | — | — | — | — |
| Ethereum | gasPool (wstETH branch) | 0x38e7…8aea | discovery | — | — | — | — |
| Ethereum | hintHelpers | 0xe3bb…3ada | discovery | — | — | — | — |
| Ethereum | interestRouter (ETH branch) | 0x636d…26ac | discovery | — | — | — | — |
| Ethereum | leverageZapper (ETH branch) | 0x978d…8004 | discovery | — | — | — | — |
| Ethereum | leverageZapper (rETH branch) | 0x7d5f…e7e5 | discovery | — | — | — | — |
| Ethereum | leverageZapper (wstETH branch) | 0xc3d8…179f | discovery | — | — | — | — |
| Ethereum | LQTYToken | 0x6dea…c54d | discovery | — | — | — | — |
| Ethereum | LUSDToken (V1) | 0x5f98…8ba0 | discovery | — | — | — | — |
| Ethereum | metadataNFT (ETH branch) | 0x05e6…f375 | discovery | — | — | — | — |
| Ethereum | metadataNFT (rETH branch) | 0x8508…5b5c | discovery | — | — | — | — |
| Ethereum | metadataNFT (wstETH branch) | 0xa339…3a14 | discovery | — | — | — | — |
| Ethereum | multiTroveGetter | 0xa4a9…fc41 | discovery | — | — | — | — |
| Ethereum | priceFeed (ETH branch) | 0x3279…ec2d | discovery | — | — | — | — |
| Ethereum | priceFeed (rETH branch) | 0x93d3…de97 | discovery | — | — | — | — |
| Ethereum | priceFeed (wstETH branch) | 0x4c27…00fa | discovery | — | — | — | — |
| Ethereum | sortedTroves (ETH branch) | 0x8794…85a9 | discovery | — | — | — | — |
| Ethereum | sortedTroves (rETH branch) | 0x5817…0c0a | discovery | — | — | — | — |
| Ethereum | sortedTroves (wstETH branch) | 0x15dd…9978 | discovery | — | — | — | — |
| Ethereum | stabilityPool (ETH branch) | 0xf69e…93cf | discovery | — | — | — | — |
| Ethereum | stabilityPool (rETH branch) | 0xc446…4f7a | discovery | — | — | — | — |
| Ethereum | stabilityPool (wstETH branch) | 0xcf46…627f | discovery | — | — | — | — |
| Ethereum | stakingV1 (governance) | 0x4f9f…605d | discovery | — | — | — | governance |
| Ethereum | token | 0xb01d…ab98 | discovery | — | — | — | token |
| Ethereum | troveManager (ETH branch) | 0x81d7…de66 | discovery | — | — | — | — |
| Ethereum | troveManager (rETH branch) | 0xde02…0fca | discovery | — | — | — | — |
| Ethereum | troveManager (wstETH branch) | 0xb47e…0046 | discovery | — | — | — | — |
| Ethereum | troveNFT (ETH branch) | 0x84ed…ce2b | discovery | — | — | — | — |
| Ethereum | troveNFT (rETH branch) | 0xee92…8192 | discovery | — | — | — | — |
| Ethereum | troveNFT (wstETH branch) | 0xf7cf…1781 | discovery | — | — | — | — |
| Ethereum | wethZapper (ETH branch) | 0xd929…eda5 | discovery | — | — | — | — |
Protocol Info
Links
- Website
- https://www.liquity.org
- @LiquityProtocol
- GitHub
- liquity
- DefiScan
- DefiScan · Stage 2
Security
- Audits
-
18 audits
- Bug bounty
- https://immunefi.com/bounty/liquity/
- Security contact
- security@liquity.org
Technical
- Voting token
- LQTY Ethereum: 0x6DEA81C81869EaC6509739E988084445C9D35951
- Deployed contracts
- https://docs.liquity.org/liquity-v1/documentation/resources
- Upgradeability
- Immutable
Provenance
- Review status
- listed
- Updated
- 2026-06-01 11:27 UTC
Hallmarks
- Feb '25Issue found in contracts
- May '25Liquity V2 relaunch