VolumeFi / paloma

The fast blockchain messenger protocol
Apache License 2.0
3 stars 2 forks source link

RENZOBOT: Build CW contracts for Renzo re-staking bot #1299

Closed fieldtheory123 closed 7 months ago

fieldtheory123 commented 7 months ago

EPIC: https://www.notion.so/volumefi/EPIC-02-16-24-Renzo-Re-Staking-LP-Bot-65c497236c5a461aae46b967a98ead2b

Vyper contract ticket: https://github.com/VolumeFi/paloma/issues/1298

This bot requires CW contracts to execute the functions on EVM. More specifically:

  1. execute deposit: swap user deposit into stETH
  2. execute staking ETH on Lido to get stETH
  3. execute restake stETH/ETH/etc on Renzo and receive ezETH
  4. execute add/remove ezETH into a liquidity pool
  5. query LP and staking rewards
  6. execute withdraw: swap token back for user deposit and return to users
  7. anything else required to execute the Vyper contracts to manage the workflow
verabehr commented 7 months ago

https://github.com/VolumeFi/renzo_bot_cw