Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(yearn): Migrate to template pattern #1156

Merged
merged 7 commits into from
Aug 12, 2022
Merged

Conversation

JForsaken
Copy link
Contributor

Description

Checklist

  • I have followed the Contributing Guidelines
  • (optional) As a contributor, my Ethereum address/ENS is:
  • (optional) As a contributor, my Twitter handle is:

How to test?

}

async getPricePerShare({ contract, appToken }: PricePerShareStageParams<YearnVaultV2>) {
const pricePerShareRaw = await contract.pricePerShare().catch(() => 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Use isMulticallUnderlyingError in case there's a network error that occurs here

@JForsaken JForsaken merged commit 3d400ce into main Aug 12, 2022
@JForsaken JForsaken deleted the migrate-yearn-template branch August 12, 2022 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants