Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 2.36 KB

File metadata and controls

29 lines (16 loc) · 2.36 KB

Moonwell - ⚠️ DISABLED MONITORING ⚠️

Moonwell is Compound V2 fork.

Governance

Tenderly alert for queueing tx to Timelock contract on Base.

Comptroller contract which handles upgrades and config updates is controlled by the Timelock contract. Delay is 1 day. The Timelock contract can be paused by the owner, which is multisig monitored by our bot.

To get the proposal data from the received alert:

  1. see the tx from alert on Tenderly
  2. find the event ProposalStateChanged and get proposalId value
  3. go to Moonwell governance https://moonwell.fi/governance/proposal/moonbeam?id=proposalId+79 and check the proposal data. For base, the proposalId is increased by 79.

The script proposals.py to check for new governance proposals is run hourly by Github actions. If the proposal is queued, it sends a telegram message. It uses cache to avoid sending duplicate messages.

Data Monitoring

The script bad_debt.py is run hourly by Github actions. It fetches the data from Sentora API and sends alerts if the thresholds are exceeded. If both data sources are not working, it sends an alert.

Bad Debt

The alerts are sent when the bad debt ratio is greater than 0.5% or if the debt supply ratio is greater than 70%. The data is fetched from Sentora API.

Debt Supply Ratio

The script fetches the data from Sentora API and sends alerts if the debt supply ratio is greater than 70%.