Skip to content

Add resolver for Live Morpho APY#71

Merged
apexearth merged 1 commit intomainfrom
shah/morpho-vault-apy
Apr 8, 2026
Merged

Add resolver for Live Morpho APY#71
apexearth merged 1 commit intomainfrom
shah/morpho-vault-apy

Conversation

@shahthepro
Copy link
Copy Markdown
Contributor

@shahthepro shahthepro commented Apr 7, 2026

Add a new resolver to get the live Morpho Vault APY

throw new Error(`No Morpho Blue address configured for chainId ${chainId}`)
}

const result = await fetchVaultApyViem(client as any, vaultAddress.toLowerCase(), morphoAddress)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I try to avoid as any whenever I can - I always want to avoid having to cast things unless I just pulled them from something external. Letting this one go though. :)

@apexearth apexearth merged commit 8271a4f into main Apr 8, 2026
@shahthepro shahthepro deleted the shah/morpho-vault-apy branch April 10, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants