# Infra layer

**It handles:**

* Enforcement of user consent policies
* Execution of compliant computation in restricted environments
* Generation of verifiable usage and outcome receipts
* Triggering settlement and fund distribution based on verified receipts<br>

**This layer is powered by Gency AI’s protocol primitives, including:**

* **Consent-as-Code (CCL)**\
  Machine-executable consent policies that define how user data may be accessed and used.
* **Encrypted Segment Query (ESQ)**\
  Privacy-preserving queries used for audience selection and measurement without exposing raw data.
* **Verifiable Usage / Result Receipts (VUR)**\
  Cryptographically verifiable records that attest to data usage and engagement outcomes.
* **Programmable Settlement Graph (PSG)**\
  A rule-based settlement mechanism that distributes value according to verified receipts.
