Skip to content

VirtEngine Module Reference

Every piece of protocol behavior lives in a Cosmos SDK module under x/ in the virtengine repository. This section documents each of the 27 modules in depth: what it stores, the messages it accepts, the queries it exposes, and how it talks to the rest of the protocol.

For the grouped overview with one-line purposes, see the On-Chain Module Map. Module APIs are defined in each module’s types/ package — when these pages and the code disagree, the code and its tests are authoritative (see Clients & SDKs).

The exchange itself — orders, bids, leases, provider registration, resource definitions, and the HPC job marketplace.

ModulePurpose
x/marketThe order, match, and lease state machine at the center of the marketplace.
x/marketplaceMarketplace coordination and offering surfaces layered over the core exchange.
x/deploymentTenant deployment specifications and groups — what tenants ask the marketplace to run.
x/providerProvider registration and the on-chain attribute record tenants filter against.
x/resourcesShared resource-unit and capacity definitions used across the marketplace.
x/hpcThe HPC job marketplace for scheduler-backed supercomputing clusters.

VEID identity scoring, the identity registry, multi-factor authentication, certificates, encryption, enclave attestation, fraud enforcement, and access control.

ModulePurpose
x/veidIdentity verification and trust scoring — the patented core of the protocol.
x/veidregistryThe registry of identity records and scopes that other modules resolve against.
x/mfaOn-chain multi-factor authentication policies for sensitive operations.
x/certTLS certificates for mutual authentication between providers and tenants.
x/encryptionPublic-key encryption so sensitive on-chain data is readable only by intended recipients.
x/enclaveConfidential-compute and enclave attestation for sensitive workloads.
x/fraudFraud reporting and enforcement hooks that police marketplace conduct.
x/rolesRole-based access control shared across the protocol’s modules.

Escrow-backed payments, governed settlement fees, validator transaction fees, VEID-led issuance, staking, delegation, and oracles.

ModulePurpose
x/escrowFunds held on-chain against active leases, released only by settlement rules.
x/settlementConverts signed usage records into billable line items and provider payouts.
x/takeGoverned marketplace settlement policy; validator transaction fees remain separate.
x/bmeBurn-and-mint equilibrium mechanics linking token supply to marketplace demand.
x/stakingValidator staking extensions over Cosmos SDK staking, tuned for the dual validator role.
x/delegationThe full delegation lifecycle for token holders and staking partners.
x/issuancepolicyGoverned controls over how and when new tokens are issued.
x/oracleExternal price and data feeds brought on-chain for pricing and policy.

Auditor-signed attributes, hardware benchmarks, reviews, support and dispute intake, and governed chain configuration.

ModulePurpose
x/auditAuditor-signed provider attributes that upgrade self-claims into attestations.
x/benchmarkOn-chain hardware benchmarking records that ground offers in measured performance.
x/reviewTenant–provider reviews building portable, tamper-evident reputation.
x/supportSupport and dispute intake flows for marketplace participants.
x/configGoverned chain-level configuration — including the approved-client list.