Skip to main content

Market

Market Creators are responsible for creation of markets. Descriptions of artifacts referred to below are available in the section on creating markets.

A Market has the following structure:

{
"proof_and_input_verifier": "0xab132d.....",
"proof_verification_image": "1311...b0b",
"input_verification_image": "1311...b0b",
"generator_image" : "1311...b0b",
"metadata": "0xab132d....."
}
  • Proof and input Verifier: The address of the solidity contract containing logic pertaining to proof and input verification
  • Proof Verification Image (only required when proofs can’t be verified on-chain): PCRs of the enclave image pertaining to proof verification
  • Input Verification Image (only required for public inputs that can’t be verified on-chain): PCRs of the enclave image pertaining to input verification
  • Generator Image (only required when the Market being created supports private inputs): PCRs of the sandboxed enclave image that Generators are required to use
  • Metadata (optional): Parsable links to sample provers and benchmarking tools