Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update earn addresses and abis #639

Merged
merged 3 commits into from
Jan 7, 2025
Merged

feat: update earn addresses and abis #639

merged 3 commits into from
Jan 7, 2025

Conversation

0xKoaj
Copy link
Contributor

@0xKoaj 0xKoaj commented Jan 7, 2025

No description provided.

Copy link

linear bot commented Jan 7, 2025

@0xKoaj 0xKoaj requested a review from 0xsambugs January 7, 2025 13:16
Copy link
Contributor

@0xsambugs 0xsambugs left a comment

Choose a reason for hiding this comment

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

Great work!

src/services/earn/earn-service.ts Outdated Show resolved Hide resolved
@@ -636,20 +636,13 @@ export class EarnService implements IEarnService {
const vault = EARN_VAULT.address(chainId);
const [, , tokenId] = positionId.split('-');
const bigIntPositionId = BigInt(tokenId);
const strategyId = await this.providerService.getViemPublicClient({ chainId }).readContract({
const [strategyId, strategyAddress] = await this.providerService.getViemPublicClient({ chainId }).readContract({
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice, we can save a call now!

@0xKoaj 0xKoaj merged commit 6259786 into feat/earn Jan 7, 2025
2 of 3 checks passed
@0xKoaj 0xKoaj deleted the feat/bly-3591 branch January 7, 2025 13:53
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