Docs

Contracts and ABIs

Governed active-V2 ABI registry, checksums, events, addresses, and provenance.

@torq-finance/contracts is generated from the governed active-V2 inventory and compiled protocol artifacts. It includes ABIs, event definitions, artifact checksums, address manifests, and chain metadata. The generation gate fails when an active source lacks a compiled artifact or when the published registry drifts.

Fetch a single governed artifact with:

GET /v1/contracts/{contractName}
Authorization: Bearer torq_test_sk_...

The response identifies its source path and checksum and includes the address and chain metadata available for the selected release. The package includes the governed hosted Sepolia deployment namespace with release-manifest and exact-bytecode provenance. Use the deployment response or the generated package rather than copying a local development address.

For a human-readable inventory, use the complete Sepolia contract address reference. It is generated from the same canonical release manifest and includes global infrastructure, active runtime contracts, execution modules, linked libraries, and the current loan and collateral assets.

Contract artifacts are for encoding and decoding typed Torq workflows and public events. They do not make direct RPC reconstruction a supported application read path. Product-visible state still comes from Chain -> Indexer -> Projector -> Postgres -> API.