Skip to main content
The Webacy vault policy monitors pegged-token depeg risk. It is for manager-action gates, such as curator or allocator operations, not end-user deposit gating. The policy data oracle calls Webacy’s /rwa/{address} endpoint and returns depeg-risk signals for the asset or token address the policy checks.

Deployment

FieldValue
Pack idwebacy
PolicyData addressesVaultKit address table
Canonical deploymentsdeployments.json

Secret

SecretRequired?Where to get it
WEBACY_API_KEYRequireddevelopers.webacy.co

Data Inputs

FieldWhat it meansWhy the policy uses it
is_collapsedWhether Webacy reports the pegged asset as collapsed.Denies manager actions when the asset is already in a collapsed state.
depeg_event_countNumber of detected depeg events in the relevant lookback.Lets policies stop actions after repeated peg failures.
consecutive_days_below_pegNumber of consecutive days the asset has remained below peg.Captures sustained, not just momentary, peg stress.
addressThe checked token or RWA address.Binds the Webacy result to the asset used by the policy.

Example Checks

deny contains "webacy_collapsed" if {
    t.deny_on_collapsed
    v.is_collapsed
}

deny contains "webacy_depeg_events" if {
    v.depeg_event_count > t.max_depeg_event_count
}

deny contains "webacy_sustained_depeg" if {
    v.consecutive_days_below_peg > t.max_consecutive_days_below_peg
}

Notes

Webacy depeg risk is usually composed with other manager-action packs. For example, a curator can combine Webacy with Vaults.fyi and RedStone so a reallocation stops when the vault is unhealthy, the pegged asset is stressed, or price feeds diverge.