Skip to content

feat: implement bundled load for pool v1 reserves and v2 emissions#82

Merged
Ryang-21 merged 1 commit intomainfrom
bundled-load
Mar 11, 2025
Merged

feat: implement bundled load for pool v1 reserves and v2 emissions#82
Ryang-21 merged 1 commit intomainfrom
bundled-load

Conversation

@Ryang-21
Copy link
Copy Markdown
Contributor

No description provided.

@Ryang-21 Ryang-21 requested a review from mootz12 March 11, 2025 16:42
Comment thread src/pool/reserve_types.ts Outdated
Comment on lines +442 to +446
export class ReserveEmissions {
constructor(
public poolId: string,
public assetId: string,
public supplyEmissions: Emissions | undefined,
public borrowEmissions: Emissions | undefined
public supplyEmissions: Map<string, Emissions>,
public borrowEmissions: Map<string, Emissions>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this seems over-optimized, as this object is quite confusing now.

IMO we should move forward with the V1 reserve loading optimization only

@Ryang-21 Ryang-21 merged commit 5325b2f into main Mar 11, 2025
1 check passed
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