> For the complete documentation index, see [llms.txt](https://docs.fairway.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fairway.global/developers/build-on-evm/attestation-led-compliance-eas-erc-1271-erc-3643/high-level-flow.md).

# High-Level Flow

1. **User completes KYC once** → Vault + Cloud Agent store raw docs.
2. **Fairway issues EAS attestation** with:
   * Subject address (EOA or ERC-1271 smart account).
   * `kyc_verified_at` timestamp.
   * Current `sanctions_epoch`.
   * Risk score if applicable.
3. **Protocol calls PolicyEngine** before sensitive actions.
4. PolicyEngine checks:
   * Attestation validity + signature.
   * `sanctions_epoch` freshness.
   * `now - kyc_verified_at ≤ max_age` (defined by the dApp).
5. Returns YES/NO + reason code.
