Badger-Finance / Badger-Finance/python-keepers

Vaults 1.5: Smart harvests

Open
#122 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Vault: https://snowtrace.io/address/0x711555f2b421da9a86a18dc163d04699310fe297#readProxyContract
Strategy: https://snowtrace.io/address/0xc2bc53bcd33cf43124715038315e11f2577fbd4e

Goals
- Tracking harvest health within harvest
- Check balance of rewards
- Check gas cost
- Balance of rewards > gas cost (performance fee * rewards > gas cost)
- Tracking harvest rekt
- Balance of rewards harvest().harvested
- If rekt, engage war room
- harvest() returns a list of address, amount struct with harvested token data
- returns raw amounts (doesn’t take performance fee out of it)
- 1% starting threshold (talk with jintao about price feeds reliability)
- Alerting when harvest doesn’t occur due to cost exceeding rewards
- Alerting if slippage is bad and pinging war room group
- Alerting when success

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.