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
Note that the computation requires the vault to implement convertToAssets in order to compute a price per share. But external 4626 vaults are not guaranteed to implement convertToAssets or the counterpart convertToShares function.
what
We compute apy on external 4626 vaults here,
https://github.com/yearn/kong/blob/main/packages/ingest/abis/erc4626/timeseries/apy/hook.ts#L115
Note that the computation requires the vault to implement
convertToAssets
in order to compute a price per share. But external 4626 vaults are not guaranteed to implementconvertToAssets
or the counterpartconvertToShares
function.so what
The result is that some of the index's external 4626 vaults incorrectly compute a 0% APY. For example, https://kalani.yearn.farm/erc4626/1/0xbEef047a543E45807105E51A8BBEFCc5950fcfBa
now what
convertToAssets
The text was updated successfully, but these errors were encountered: