Moonwell is Compound V2 fork.
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:
- see the tx from alert on Tenderly
- find the event
ProposalStateChangedand getproposalIdvalue - 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.
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.
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.
The script fetches the data from Sentora API and sends alerts if the debt supply ratio is greater than 70%.