VaultMaxi 2.5.0 & Reinvest 2.1
this is a recommend optional update with improvements to logging and reinvest pattern
Vault Maxi via Ocean API
This tool is made to optimize your defichain vault rewards by maximizing the amount of loans put into the liquidity mining of dTokens. You can define the thresholds for your collateralization ratio. if the collateral rises, the tool increases LM-exposure, if it falls it automatically decreases it.
If the parameter is set, it even reinvests the rewards into your vault for automatic compounding.
It is meant to be run as a lambda on AWS, using the ocean-api. Therefore it doesn't need a fullnode or any server maintenance (as opposed to the python version of this script).
release hashes
windows / debian:
sha256 hash base64: uOGXRoa/S1RgqTNIYXIbAhoAPG/HNV0R1H9vzNaLS80=
sha256 hash hex: b8e1974686bf4b5460a9334861721b021a003c6fc7355d11d47f6fccd68b4bcd
macOS:
sha256 hash base64: -
sha256 hash hex: -
Changes
- improved safety-level message
- reinvest: threshold now blocks complete reinvest, not only auto donation
- added loglevels, you can now define what part of the messages should go to the notifications channel and which to the log level. Default is "INFO and above goes to notifications, verbose out to logs". possible log levels are
error
,warning
,info
,verbose
- additional safety check in case of onchain troubles
- increase exposure as much as possible if 50% rule prevents full increase
- reinvest: switch sending of DFI to "clean UTXOs" (not directly from AccountToUTXOs, but with extra step) to have full bitcoin compatibility on exchanges. Now reinvest directly to cake address also works
Guide
We wrote an extensive guide for the whole setup process in AWS. If you just want to run the bot, follow this guide and make sure to read the risk-warnings carefully. Vault-Maxi Guide
Reinvest
Reinvest is based on the vault-maxi code but only the reinvest without managing of any vault, It also got updated and now uses exactly the same reinvest logic as vault-maxi.
Guide
We wrote an extensive guide for the whole setup process in AWS. If you just want to run the bot, follow this guide and make sure to read the risk-warnings carefully. Reinvest Guide
release hashes
windows / debian:
sha256 hash base64: srvwfDNMmtYeqT4HgQbO0+gfFonvzYMa7W6VZIcfhMI=
sha256 hash hex: b2bbf07c334c9ad61ea93e078106ced3e81f1689efcd831aed6e9564871f84c2
macOS:
sha256 hash base64: -
sha256 hash hex: -
Disclaimer
This is not financial advice and anyone using this tool is doing so at their own risk. Never invest more than you are ok to lose. We are using it ourselves but can’t guarantee that it’s working flawlessly in every edge case. We are not responsible for any lost funds.
Donations
We are developing this thing in our free time. Noone is paying us for it. If you benefit from our work, it would be a nice gesture to give something back. Here are our DFI donation addresses:
@kuegi : df1qqtlz4uw9w5s4pupwgucv4shl6atqw7xlz2wn07
@Krysh90 : df1qw2yusvjqctn6p4esyfm5ajgsu5ek8zddvhv8jm
What's Changed
- Feature/vault analysis by @kuegi in #121
- maxi: improved safety-level message by @kuegi in #122
- reinvest: threshold now blocks complete reinvest, not only auto donation by @kuegi in #123
- reinvest-threshold-override only applies to reinvest, not donation guard by @kuegi in #125
- improved vault-analysis by @kuegi in #128
- Feature/loglevel by @kuegi in #126
- maxi: additional safety check in case of onchain troubles by @kuegi in #127
- Feature/increase whats possible by @kuegi in #130
- reinvest: extra step to send as clean UTXOs by @kuegi in #133
- version bump 2.5.0 by @kuegi in #131
Full Changelog: v2.4.1...v2.5.0