[VPD-551] Deviation Sentinel WEB3 action for monitoring #84
+1,313
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a new DeviationSentinel Tenderly Web3 Action that monitors price deviations between the ResilientOracle and SentinelOracle on BSC Testnet. The action runs on a 5-minute schedule and automatically pauses borrows or supply when deviation thresholds are exceeded, and unpauses when deviations resolve.
Changes
venus-labs-actionspackage with a TenderlyWeb3 Action (
src/actions/index.ts) that:secrets
DeviationSentinel contract
to those with monitoring enabled
handleDeviation()to pause/unpause accordinglyscripts/setDeviationPrices.ts)to simulate price deviations on the SentinelOracle,
verify pause/unpause behavior, and validate collateral
factor / liquidation threshold restoration
tenderly.yaml) witha 5-minute cron schedule
and configuration details; added
out/to.gitignoreand removed committed build artifacts
dotenvupdated to 16.6.1Contracts (BSC Testnet)
0x9245d72712548707809D66848e63B8E2B169F3c10x94d1820b2D1c7c7452A163983Dc888CEC546b77D0xa4f2B03919BAAdCA80C31406412C7Ee059A579D3