Developers

Deployments

Where the contracts are deployed, and how each is configured.

Copy Markdown

Deployed on Robinhood Chain

What gets deployed

ContractRole
OpaquePoolThe $OPA pool and note tree
Poseidon2HasherThe hash used by the tree and by note commitments
VerifierChecks proofs of the transact circuit (generated, not yet in the repository)
Fee harvesterCollects the trade fee and buys $OPA for the vault (not built)

Constructor of OpaquePool

Every value is fixed forever at deployment.

ParameterMeaning
hasher_The Poseidon2 hasher
verifier_The proof verifier
token_The $OPA token
guardian_The address that can pause new shrouds
exitFee_Flat unshroud fee, in $OPA wei. It stays in the pool
capDeposit schedule for $OPA

A schedule has an initial cap, a step amount, a step interval in seconds and a ceiling.