beefyfinance / beefy-v2

Beefy is a Decentralized, Multichain Yield Optimizer that allows its users to earn compound interest on their crypto holdings. Beefy earns you the highest APYs with safety and efficiency in mind.
https://app.beefy.com
MIT License
49 stars 96 forks source link

Add ETH-rETH stable vault on Aerodrome Base #2234

Closed ying13 closed 3 weeks ago

kexleyBeefy commented 1 month ago

@ying13 Everything looks good except the routing from output to lpToken1, it's going through the volatile pool rather than the stable pool for WETH->rETH. Can you please re-deploy and adjust the routing?

image
ying13 commented 1 month ago

@kexleyBeefy Thanks for pointing it out! I just completed testing and updated the vault contract address and timestamp. I actually deployed two vaults, one used the WETH/rETH stable pool and the other one used the volatile pool, but didn't know how the difference would affect transactions?

kexleyBeefy commented 3 weeks ago

@kexleyBeefy Thanks for pointing it out! I just completed testing and updated the vault contract address and timestamp. I actually deployed two vaults, one used the WETH/rETH stable pool and the other one used the volatile pool, but didn't know how the difference would affect transactions?

The difference is that the volatile pool has lower liquidity and a higher swap fee, so swaps are less efficient. Plus the pool in the vault is the stable one, so it makes sense to route the swap through it as the liquidity will be there as long as the vault is live.