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
Request
- Base URLhttps://api.dre.app (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: X-CRON-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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 operation across all 3 revisions of this API.