Proven AppDocs
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

ContractResponsibility
FactoryDeploys a token and its sealed-bid auction in one transaction.
AuctionStores bid fingerprints and ciphertexts, verifies reveals, computes the clearing price and settles.
TokenFixed-supply token with no owner, no minting and no tax.
Pool manager integrationOpens the Uniswap v4 pool at the clearing price and holds the liquidity position.
VaultHolds shielded notes and verifies proofs for private actions.
Relay entryAccepts relayed private calls and pays gas on behalf of users.
EscrowsHold 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.