EarnProof contracts store compact status records only. Durable entries are extended with a shared TTL policy on read and write. Temporary entries, if introduced, should use the same policy module with a shorter lifetime.

Protocol Config

Issuer Registry

Proof Registry

TTL Policy

The contracts share TTL constants from the packages/shared crate. Contract functions extend TTL for records they create, mutate, or return. This keeps active protocol data available while preserving Stellar storage-expiration hygiene.

Forbidden On-Chain Data

  • Raw salary
  • Exact payment amount
  • Full wallet history
  • Personal name
  • Email address
  • Employment documents
  • Raw transaction lists
  • Credential signatures
  • Full credential payloads