cron

Run internal transparency verification checks (cron)

Expected schedule: every week.

Verifies Aave audit actions, then evaluates protocol backing and deposit/investment reconciliation:

  • fullyBacked: compares on-chain collateral (totalCollateralValueUsd) to dreUSD liabilities scaled by DREUSD_LIABILTY_THRESHOLD.
  • reportingAccurate: compares total USDC deposited (audit) to total invested reserves in USD; gap must be within RECONCILIATION_TOLERANCE_PERCENTAGE.

Persists a transparency_verifications row for verifier dre-labs (with dreUsdValue, collateral, deposit, and investment totals). Sends a notification when either flag is false. Returns 204 with an empty body on success. Requires X-CRON-API-KEY matching CRON_API_KEY.

post/cron/transparency/verification

Headers

X-CRON-API-KEYstring required

Must match CRON_API_KEY

Response

Transparency verification completed and persisted; notification sent only when checks fail.

Changes

No recorded changes to this endpoint across all 1 revision of this API.