Contract Explorer
The contract explorer at /explorer turns ThesisLock into a self-documenting protocol. Every one of the five mainnet contracts is browsable from the app: its functions, maps, data variables, recent on-chain calls, and a live read-only tester, with no wallet required.
Layout
A sidebar lists the five contracts. Selecting one opens its detail view; the default Overview shows an architecture diagram and a card per contract with its live call count, function count, and deploy block.
Architecture diagram
The Overview diagram shows how the contracts relate. The core thesislock anchor sits at the center; the companion contracts thesislock-batch (batch operations), thesislock-registry (history index), and thesislock-proof (NFT proofs) extend it, while thesislock-groups is an independent contract for shared group anchoring. Every box is clickable and opens that contract.
Contract detail
Each contract detail view has three tabs.
Functions
Functions are grouped by access. Public functions (blue) write state and must be signed by a wallet; read-only functions (green) are free reads. Each entry lists its arguments, return type, and a description, and expands to show the Clarity signature.
Recent Calls
A live table of the most recent contract-call transactions from the Hiro API, with the function name, sender (linked to its wallet profile), block, status, and a link to the transaction in the Stacks explorer. It refreshes every 30 seconds and can be filtered by function name.
Try It
Call any read-only function interactively. Pick a function, fill the typed inputs, and the explorer serializes the arguments, calls the Hiro read-only API, and shows the result three ways: a formatted value, decoded JSON, and the raw Clarity value. Input types are handled for you:
(buff 32): a 64-character hex string (a SHA-256 hash).principal: a Stacks address beginningSP.uint: a non-negative integer.(string-ascii N): text up to N characters.(optional X): a checkbox to include the value plus a field for X.
JSON API
The same data is available as JSON for external tools. GET /api/explorer/<contract> returns the contract metadata and recent calls. GET /api/explorer/<contract>/call?fn=<function>&args=<json> proxies a read-only call and returns the decoded result. For raw Clarity encoding details, see the Contracts reference.