Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/_run-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ env:
TELEGRAM_BOT_TOKEN_LIDO: ${{ secrets.TELEGRAM_BOT_TOKEN_LIDO }}
TELEGRAM_BOT_TOKEN_PEGS: ${{ secrets.TELEGRAM_BOT_TOKEN_PEGS }}
TELEGRAM_BOT_TOKEN_PENDLE: ${{ secrets.TELEGRAM_BOT_TOKEN_PENDLE }}
TELEGRAM_BOT_TOKEN_SILO: ${{ secrets.TELEGRAM_BOT_TOKEN_SILO }}
TELEGRAM_BOT_TOKEN_SPARK: ${{ secrets.TELEGRAM_BOT_TOKEN_SPARK }}
TELEGRAM_BOT_TOKEN_STARGATE: ${{ secrets.TELEGRAM_BOT_TOKEN_STARGATE }}

Expand All @@ -74,16 +73,12 @@ env:
TELEGRAM_CHAT_ID_LRT: ${{ secrets.TELEGRAM_CHAT_ID_LRT }}
TELEGRAM_CHAT_ID_MAPLE: ${{ secrets.TELEGRAM_CHAT_ID_MAPLE }}
TELEGRAM_CHAT_ID_MAKER: ${{ secrets.TELEGRAM_CHAT_ID_MAKER }}
TELEGRAM_CHAT_ID_MOONWELL: ${{ secrets.TELEGRAM_CHAT_ID_MOONWELL }}
TELEGRAM_CHAT_ID_MORPHO: ${{ secrets.TELEGRAM_CHAT_ID_MORPHO }}
TELEGRAM_CHAT_ID_PENDLE: ${{ secrets.TELEGRAM_CHAT_ID_PENDLE }}
TELEGRAM_CHAT_ID_PUFFER: ${{ secrets.TELEGRAM_CHAT_ID_PUFFER }}
TELEGRAM_CHAT_ID_RESOLV: ${{ secrets.TELEGRAM_CHAT_ID_RESOLV }}
TELEGRAM_CHAT_ID_RTOKEN: ${{ secrets.TELEGRAM_CHAT_ID_RTOKEN }}
TELEGRAM_CHAT_ID_SILO: ${{ secrets.TELEGRAM_CHAT_ID_SILO }}
TELEGRAM_CHAT_ID_SPARK: ${{ secrets.TELEGRAM_CHAT_ID_SPARK }}
TELEGRAM_CHAT_ID_STARGATE: ${{ secrets.TELEGRAM_CHAT_ID_STARGATE }}
TELEGRAM_CHAT_ID_USD0: ${{ secrets.TELEGRAM_CHAT_ID_USD0 }}
TELEGRAM_CHAT_ID_USDAI: ${{ secrets.TELEGRAM_CHAT_ID_USDAI }}
TELEGRAM_CHAT_ID_YEARN: ${{ secrets.TELEGRAM_CHAT_ID_YEARN }}

Expand All @@ -105,7 +100,6 @@ env:
TELEGRAM_TOPIC_ID_MORPHO: ${{ vars.TELEGRAM_TOPIC_ID_MORPHO }}
TELEGRAM_TOPIC_ID_PENDLE: ${{ vars.TELEGRAM_TOPIC_ID_PENDLE }}
TELEGRAM_TOPIC_ID_RTOKEN: ${{ vars.TELEGRAM_TOPIC_ID_RTOKEN }}
TELEGRAM_TOPIC_ID_SILO: ${{ vars.TELEGRAM_TOPIC_ID_SILO }}
TELEGRAM_TOPIC_ID_STRATA: ${{ vars.TELEGRAM_TOPIC_ID_STRATA }}
TELEGRAM_TOPIC_ID_USTB: ${{ vars.TELEGRAM_TOPIC_ID_USTB }}
TELEGRAM_TOPIC_ID_USDAI: ${{ vars.TELEGRAM_TOPIC_ID_USDAI }}
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,12 @@ Monitoring scripts for DeFi protocols to track key metrics and send alerts. Join
- [LRTs](./lrt-pegs/README.md)
- [Maple](./maple/README.md)
- [Maker DAO](./maker/README.md)
- [Moonwell](./moonwell/README.md)
- [Morpho](./morpho/README.md)
- [Pendle](./pendle/README.md)
- [Resolv](./resolv/README.md) — _monitoring disabled_
- [RTokens - ETH+](./rtoken/README.md)
- [Silo](./silo/README.md) — _monitoring disabled_
- [Spark](./spark/README.md)
- [Strata](./strata/README.md)
- [Stargate](./stargate/README.md) — _monitoring disabled_
- [USD0 - Usual Money](./usd0/README.md)
- [USDAI](./usdai/README.md)
- [USTB - Superstate](./ustb/README.md)
- [Yearn](./yearn/README.md)
Expand Down
11 changes: 1 addition & 10 deletions lrt-pegs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

## Exchange rates

Checks the main liquidity pools of LRTs to detect depegging, such as the pools in Balancer and pufETH-wstETH, ETH+/WETH, ETH+/ETH pools in Curve. The bot monitors pool balances and sends a message if they become massively unbalanced.
Checks the main liquidity pools of LRTs to detect depegging, such as ETH+/WETH and ETH+/ETH pools in Curve. The bot monitors pool balances and sends a message if they become massively unbalanced.

### Curve pools

Curve pools that are checked are:

- pufETH-wstETH
- ETH+/WETH
- weETH-WETH
- frxETH-WETH
Expand Down Expand Up @@ -48,14 +47,6 @@ This check runs hourly.

[rsETH](https://etherscan.io/address/0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7#code) contract is upgradable proxy. Owner of the contrat [Timelock](https://etherscan.io/address/0x49bd9989e31ad35b0a62c20be86335196a3135b1), address: 0x49bd9989e31ad35b0a62c20be86335196a3135b1 with min delay set to [10 days](https://etherscan.io/address/0x49bd9989e31ad35b0a62c20be86335196a3135b1#readContract#F6). [Tenderly alert](https://dashboard.tenderly.co/yearn/sam/alerts/rules/c8108fff-b1f4-4cb0-abd3-c37ad541e6aa) and [internal timelock monitoring](../timelock/README.md) for CallScheduled events.

### Renzo (ezETH)

[ezETH](https://etherscan.io/address/0xbf5495Efe5DB9ce00f80364C8B423567e58d2110#code) contract is upgradable proxy. The default admin role is set to the [Timelock](https://etherscan.io/address/0x4994EFc62101A9e3F885d872514c2dC7b3235849#readProxyContract#F17), address: 0x81f6e9914136da1a1d3b1efd14f7e0761c3d4cc7. [Tenderly alert](https://dashboard.tenderly.co/yearn/sam/alerts/rules/65153e56-1f79-45a2-8453-b61beeeab411) and [internal timelock monitoring](../timelock/README.md) for CallScheduled events.

### Puffer Finance (pufETH)

[pufETH](https://etherscan.io/address/0xD9A442856C234a39a81a089C06451EBAa4306a72#readProxyContract) contract is upgradable proxy. Contract [authority](https://etherscan.io/address/0xD9A442856C234a39a81a089C06451EBAa4306a72#readProxyContract#F7) is [AccessManager](https://etherscan.io/address/0x8c1686069474410E6243425f4a10177a94EBEE11#code) which admin is set to [Timelock contract](https://etherscan.io/address/0x3C28B7c7Ba1A1f55c9Ce66b263B33B204f2126eA). [Tenderly alert](https://dashboard.tenderly.co/yearn/sam/alerts/rules/f6654146-08d0-4a83-917a-23233be2314e) and [internal timelock monitoring](../timelock/README.md) for queueTransaction events.

### Lombard Finance (LBTC)

Monitoring [multisig of LBTC boring vault](https://etherscan.io/address/0xb7cB7131FFc18f87eEc66991BECD18f2FF70d2af) that can change all settings of Veda vault. [Tenderly alert](https://dashboard.tenderly.co/yearn/sam/alerts/rules/271040e6-85bc-4103-bf05-094a9912961a) and [internal timelock monitoring](../timelock/README.md) for CallScheduled events in [Lombard Timelock](https://etherscan.io/address/0x055e84e7fe8955e2781010b866f10ef6e1e77e59). This contract is the owner of [LBTC token](https://etherscan.io/token/0x8236a87084f8B84306f72007F36F2618A5634494#readProxyContract#F18).
Expand Down
1 change: 0 additions & 1 deletion lrt-pegs/curve/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# Pool configurations
POOL_CONFIGS = [
# name, pool address, index of lrt, index of other asset, peg threshold, protocol
("pufETH-wstETH Curve Pool", "0xEEda34A377dD0ca676b9511EE1324974fA8d980D", 0, 1, THRESHOLD_RATIO, "puffer"),
("ETH+/WETH Curve Pool", "0x2c683fAd51da2cd17793219CC86439C1875c353e", 0, 1, THRESHOLD_RATIO, "ethplus"),
("OETH/ETH Curve Pool", "0xcc7d5785AD5755B6164e21495E07aDb0Ff11C2A8", 0, 1, THRESHOLD_RATIO, "origin"),
# NOTE: bool is unbalanced, whole liquidity is moved to univ3: https://app.uniswap.org/explore/pools/ethereum/0x202a6012894ae5c288ea824cbc8a9bfb26a49b93
Expand Down
7 changes: 0 additions & 7 deletions lrt-pegs/fluid/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
1,
THRESHOLD_RATIO,
),
(
"ezETH/ETH FLUID Pool",
"0xDD72157A021804141817d46D9852A97addfB9F59",
0,
1,
THRESHOLD_RATIO,
),
(
"weETH / ETH FLUID Pool",
"0x86f874212335Af27C41cDb855C2255543d1499cE",
Expand Down
29 changes: 0 additions & 29 deletions moonwell/README.md

This file was deleted.

124 changes: 0 additions & 124 deletions moonwell/bad_debt.py

This file was deleted.

129 changes: 0 additions & 129 deletions moonwell/proposals.py

This file was deleted.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"aave", "bad-debt", "cap", "compound", "ethena", "euler",
"fluid", "infinifi", "lido", "lrt-pegs", "maker", "moonwell",
"maple", "morpho", "pendle", "resolv", "rtoken",
"safe", "silo", "spark", "stargate", "timelock", "usd0", "usdai",
"fluid", "infinifi", "lido", "lrt-pegs", "maker",
"maple", "morpho", "pendle", "rtoken",
"safe", "spark", "stargate", "timelock", "usdai",
"utils", "yearn",
]

Expand Down
Loading
Loading