You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex generally likes having supplyRatePerBlock to calculate APY as well, but I'm fairly sure that supplyRate will be extremely difficult to extrapolate. Its easy enough now, but varies based on tips/MEV post merge...
Other notes:
The underlying is not ETH or WETH, but stETH for wstETH.
So we can assume users have stETH ahead of time, or can write a wrapper that converts ETH->stETH through curve?
The text was updated successfully, but these errors were encountered:
oh, ic. ok. lemme look at the best place for that.
was just reading the whole:
_stETHAmount must be non-zero
msg.sender must approve at least _stETHAmount stETH to this contract.
msg.sender must have at least _stETHAmount of stETH.```
for wrap...
We had commented out Lido for some later considerations awhile back, and never re-introduced it.
Its 100% worth taking the bit of time to add Lido and ensure we're good to go for the next year or so.
That said, we need to address the three interfaces for integrations:
wrap
unwrap
getStETHByWstETH
Alex generally likes having
supplyRatePerBlock
to calculate APY as well, but I'm fairly sure that supplyRate will be extremely difficult to extrapolate. Its easy enough now, but varies based on tips/MEV post merge...Other notes:
The underlying is not ETH or WETH, but stETH for wstETH.
So we can assume users have stETH ahead of time, or can write a wrapper that converts ETH->stETH through curve?
The text was updated successfully, but these errors were encountered: