Docs/Reference
Contracts
The on-chain components and what each is responsible for.
The system is a small set of immutable contracts. Source, tests and real runs on testnet and mainnet are public.
#Components
| Contract | Responsibility |
|---|---|
| Factory | Deploys a token and its sealed-bid auction in one transaction. |
| Auction | Stores bid fingerprints and ciphertexts, verifies reveals, computes the clearing price and settles. |
| Token | Fixed-supply token with no owner, no minting and no tax. |
| Pool manager integration | Opens the Uniswap v4 pool at the clearing price and holds the liquidity position. |
| Vault | Holds shielded notes and verifies proofs for private actions. |
| Relay entry | Accepts relayed private calls and pays gas on behalf of users. |
| Escrows | Hold deposits and proceeds until settlement and payout. |
#Addresses
Addresses are built into the SDK:
ts
import { deploymentFor } from "@provenapp/sdk";
const deployment = deploymentFor(99901);Compare them against the verified source on the block explorer before you integrate.
#What the contracts cannot do
- No function lets anyone, including the team, move funds out of an auction or vault.
- No function removes locked liquidity.
- No function reads a bid before its reveal.
#Changing rules
Loosening any rule waits a public 3-day delay, so users can exit before it takes effect. Tightening rules does not.
#Proof circuits
Private actions use open-source circuits from the privacy layer. The prover keys are final, hash-checked, and run on the user's device.